[thelist] XHTML/ASP <option disabled="disabled">

Chris Heilmann lists at onlinetools.org
Wed Feb 2 10:54:58 CST 2005

> Maybe I'm missing something here:
> <option  disabled="disabled" >Red Fox </option>

> Usually when you "disable" something it is grayed out. However, when I do
> this XHTML page the "Red Fox" option is still black as night. Am I
> supposed
> to see a visual change when you disable an option in XHTML? Or... How
> enable
> some form of visual change? text color or something?

A disabled option is one that is not available in a select statement.
While option allows for disabled, the specs state it is not making sense:
  disabled    (disabled)     #IMPLIED  -- unavailable in this context --


Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/

More information about the thelist mailing list