HTML selected clause

Posted on 2012-08-31
Last Modified: 2012-08-31
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?
Question by:Richard Korts
    LVL 12

    Accepted Solution

    I can see no issue in my browsers
    Could you please clear the cache from firefox and check again
    LVL 7

    Expert Comment

    instead of selected='selected', try selected="selected", or selected="yes"

    Author Comment

    by:Richard Korts
    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
    LVL 49

    Expert Comment

    by:Julian Hansen
    Renders fine for me in Firefox 14 - have you got a URL you can point us at?
    LVL 7

    Expert Comment

    Working for me in FF 14.0.1
    LVL 7

    Expert Comment

    Just update to FF 15.  Still working

    Author Closing Comment

    by:Richard Korts
    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.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
    Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
    In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
    How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now