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
Richard KortsAsked:
Who is Participating?
 
sjklein42Connect With a Mentor Commented:
selected='true' seems to work in IE and FF4 as well.

Good workaround.
0
 
sjklein42Commented:
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/ 
0
 
Richard KortsAuthor Commented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.