Link to home
Start Free TrialLog in
Avatar of Richard Korts
Richard KortsFlag for United States of America

asked on

HTML selected clause

I have a server generated page that uses multiple select elements, each with multiple options. See attached code snippet for the html.

When it's rendered in FireFox, it shows like in the image "Firefox". When rendered in Google Chrome, it shows like the image "Chrome".

Why does it not work in FireFox? I have had this problem in FireFox before. Is this a FireFox bug?
FireFox.JPG
Chrome.JPG
select-firefox.txt
ASKER CERTIFIED SOLUTION
Avatar of Anuradha Goli
Anuradha Goli
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
instead of selected='selected', try selected="selected", or selected="yes"
Avatar of Richard Korts

ASKER

To dimmergeek,

I previously had "selected" & it did the EXACT same thing. I looked up the proper syntax on W3schools; it shows selected='selected'. I will try yes.

I am using FireFox 15.0
Avatar of Julian Hansen
Renders fine for me in Firefox 14 - have you got a URL you can point us at?
Working for me in FF 14.0.1
Just update to FF 15.  Still working
I did the refresh (even though I KNEW that wouldn't do it). It Did. It's fine now.

I should have thought of that.

Thanks