Link to home
Create AccountLog in
Avatar of Richard Korts
Richard KortsFlag for United States of America

asked on

Strange FireFox Behaivor

I have the following HTML

<div class="pt9"><b>Region: 3</b><br>
      <b>1st Appointment Date:&nbsp;</b><select name="sdate" size="1" class="pt8" onChange="return get_sched();">

            <option value="2011-03-02|AM" >03/02/2011-AM</option>
            <option value="2011-03-09|PM" >03/09/2011-PM</option>
            <option value="2011-03-17|AM" selected>03/17/2011-AM</option>
            <option value="2011-03-24|PM" >03/24/2011-PM</option>
            <option value="2011-04-01|AM" >04/01/2011-AM</option>
            
      </select></div><br>

Notice the 3rd item (3/17) is selected.

See attached image. This is how it looks in FireFox.

Why is 3/17 not the selected?

FF-issue.jpg
Avatar of sjklein42
sjklein42
Flag of United States of America image

Fixed in Firefox4 Beta.

FF4 Beta is not an update, it has to be downloaded specifically.  Here's the link:

http://www.mozilla.com/en-US/firefox/beta/ 
Avatar of Richard Korts

ASKER

To sjklein42:

Great.

But that doesn't fix things for my current customer using FireFox.

I seem to recall the syntax selected='true' fixes the problem. Does that work? Does it work in IE?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of sjklein42
sjklein42
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer