Forum Moderators: open

Message Too Old, No Replies

Disable Item in Select list

using IE 6.0

         

geoapa

5:38 pm on Mar 4, 2004 (gmt 0)

10+ Year Member



The following code shows "two" as grayed out and disabled in Netscape 7.1 but not in IE 6.0. Does anyone know the equivalent for IE 6.0?

<select name="test">
<option>one</option>
<option disabled>two</option>
<option>three</option>
</select>

tedster

9:46 pm on Mar 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There is no equivalent supported in IE6 that I know of. "Disabled" was new in HTML 4 and the support is just now bleeding in with the newer browsers, and IE6 is rapidly becoming a dinosaur in many areas.

bcolflesh

10:05 pm on Mar 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/disabled_3.asp

You have to specify desired functionality.