[solution][workaround] Internet explorer and disabled select options ( dropdown )

By.

min read

My profile

Share this:

Why IE6 and IE7 doesnt “get” this:
[code:1:0d42ca4226]<select>
<option>Enabled</option>
<option disabled>Disabled</option>
</select>[/code:1:0d42ca4226]
is a mystery to me.

What I do know is that you have 2 workarounds;

1) Use optgroup

2) Use a javascript workaround. I’ve tried some without any luck, but here’s a link that may have the answer:
http://matt-good.net/2006/05/16/disabling-html-option-s/

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *