views:

27

answers:

2

Hi,

I've created a combo box in a form using the following:

<select id="end_minute" name="end_minute">
  <option value="00">00</option>
  <option value="15">15</option>
  <option value="30">30</option>
  <option selected="selected" value="45">45</option>
</select>

In Firefox, he first option is selected, but in IE the option with attribute selected="selected" is (correctly) shown.

Update

Pekka is right, the values were being cached by Firefox

+5  A: 

You are probably re-loading the page after having selected the first option. Firefox will memorize form values in that case. When you go to the address field and hit Enter, it should return to normal.

Pekka
Or just hold `Shift` then click refresh.
Doug Neiner
I use [Ctrl]+[F5] to force a full redraw.
Byran
A: 

What version of Firefox are you running? As it seems to do exactly as it is supposed to in my browsers...

FF 3.5.7 FF 3.6 Chrome

Try another browser. Or post your browser info so we can examine it better.

Urda