Hide a select box under internet explorer

Sometimes you need to hide a select tag.

in HTML, the usual solution is

 <select name ="myname" id="myid" 
                multiple="multiple" hidden>

However, this will (obviously) will not work under MSIE even on the current version which is 9.

in order to bypass this MS bug, a css solution (open a separate css file) must be used:

    display:  none;

and then:

 <select name ="myname" id="myid" 
                multiple="multiple" hidden class="hide">

This will work on explorer 6 and above. note that if you need to un – hide this, you have to take care of the class as well.

MS, what can you do…