For some reason the "selected" attribute does not work on a <option />
tag when doing a page refresh.
There are two work-arrounds:
- Add the
autocomplete="off"
attribute to each<option />
tag; - Add
<form>
...</form>
tags arround the<select>
...</select>
tag.
Categorieën
XHTML