"brucie" <br******@bruciesusenetshit.info> schrieb im Newsbeitrag
news:bq*************@ID-117621.news.uni-berlin.de...
in post <news:3f***********************@news.easynet.ch>
Markus Ernst said:
The disabled attribute in the option tag seems not to work in IE
(version 6). Does anyone know a workaround for this?
use scripting to remove the <option>
Thank you brucie for this idea.
I would actually like to show the entry, but make it not selectable. The
select box displays a hierarchy of nodes which is not consistent anymore if
a node is not displayed. It's purpose is to assign the actual node to
another parent one. So I have to prevent the possibility of assigning a node
to itself.
I can use Javascript to display a warning and return false if the entry is
selected, and serverside scripting to not accept the entry if the user has
disabled Javascript. But if there is a HTML-only solution I would of course
prefer it.
It is not a big problem anyway, as most IE users work with Javascript on,
and other browsers support the disabled attribute correctly.
--
Markus