Option can't hide in IE6
Option can't hide in IE6
Dear all
I have a select element as below
-
<select id="sel">
<option id="a">A</option>
<option id="b">B</option>
<option id="c">C</option>
</select>
I want to hide option A in some case and then show option A in the other case, so the code snippet as below
-
// in some case
$("option#a").hide();
The hide function works right in Firefox , but it can't work in IE6.
Are there any other solution that I can hide option and show it in later for IE6 browser?
Tks!