I'm trying to remove from display rather than just disable (as this would remain in display even though greyed out).
Can anyone explain why IE doesn't render the display style attribute properly for <option> (even though it allows you to set it)?
I am still hoping someone will be able to tell me how to hide dropdown options in IE, however if not then I will accept an explanation of why it is impossible (if it is!).
Main Topics
Browse All Topics





by: arantiusPosted on 2004-12-13 at 17:36:43ID: 12815515
woodpd,
01/interac t/forms.ht ml#edef-OP TION
http://www.w3.org/TR/html4
the <option> tag should support the disabled attribute.
Of course, IE doesn't support that.
> How can I do this without: 1) Creating 4 different select lists and showing/hiding them, 2) Adding/removing elements using JavaScript.
I don't think that's possible.