Community Forums 

Main Content

Re:How to make an item not selectable in a drop down menu

    Jan 09 2012 09:50:49

    #1

    SteveMck

    Join date : 2011-11-29      Posts : 19

    anon said If you want it to be visible, but not selectable you can disable it like this:
    <option disabled="disabled">Non-selectable option</option>


    Would this make the whole drop down not selectable? I have a dropdown like this

    ---Select Colour---
    Brown
    Black

    And i want the select colour option to not be selectable.