<option> with display:none; does not work on IE
this seems to work for me:
http://jsfiddle.net/PP4AP/1/
$('select option').each(function(){
if(this.style.display == 'none')
{
$(this).remove();
}
});
this seems to work for me:
http://jsfiddle.net/PP4AP/1/
$('select option').each(function(){
if(this.style.display == 'none')
{
$(this).remove();
}
});