HTML Select

On some occasions in FireFox, a selected element in an option list IS NOT selected in the browser rendering.

For example, this one:

<select name="aord" class="texta" onChange="chk_no_flight();">
<option value="">Select One</option>
<option value="A" style="color:red;">Arriving</option>
<option value="D" selected>Departing</option>
<option value="N">No Flight</option>

Richard KortsAsked:
Who is Participating?
clampsConnect With a Mentor Commented:
are you using xhtml or html?
If xhtml you have to declare selected="selected"
Richard KortsAuthor Commented:
To clamps:

It's html but I suspect that is the issue, I was going to try that anyway.

Richard KortsAuthor Commented:
This is the case in html too.
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.