<select> drop down list

Discussion in 'HTML & Website Design' started by nokia, Nov 24, 2006.

  1. #1
    how to make some particular 'options' under 'select' tag hidden under certain conditions? .is there any code like 'style.display=none' used with 'div' ?
     
    nokia, Nov 24, 2006 IP
  2. crazybjörn

    crazybjörn Peon

    Messages:
    270
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Could add disabled="disabled". That way those options won't be selectable/submitable.
     
    crazybjörn, Nov 24, 2006 IP
  3. nokia

    nokia Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i hav tried this method. but not wrking. can u suggest any other methods
     
    nokia, Nov 26, 2006 IP
  4. Luke

    Luke Peon

    Messages:
    111
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Can you recognize these conditions before HTML output? like with PHP or ASP or are you using some form of javascript?
     
    Luke, Nov 27, 2006 IP