"john" <ne**@definitely.no-spam.org.uk> writes:
I'm looking to have a form where a drop down list contains my full range of
options even when some are not currently available. Is it possible to
produce a select box where some items could show differently (eg greyed out)
and not be selectable?
<select>
<option>Yes</option>
<option disabled="disabled">No</option>
</select>
Since you are asking in a javascript group, I assume you need to
change the disabled state of an option dynamically:
formRef.elements['mySelect'].options[1].disabled=true;
/L
--
Lasse Reichstein Nielsen -
lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'