On Fri, 21 Feb 2003 10:37:42 -0700, you wrote:

>>Quoting Steven Kallstrom <[EMAIL PROTECTED]>:

>>      I am creating dynamic drop down lists... I would like to have an
>> option appear in the drop down list, but have it greyed-out and not be
>> selectable...  I know you can disable selects, but I don't think you can
>> disable individual options in selects...  anyone have any ideas?

>Oh!  Yes you can:
>
><option disabled value="value">Some Value</option>

Don't assume any data returned from a disabled field will be correct. It
is easy to send malicious data to the form handler, and not all browsers
support the disabled attribute.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to