I\'m trying to hide some options from a drop down. JQuery\'s .hide()
and .show()
work great in Firefox and Chrome, but no luck in IE.
Any g
I found a rather simple solution, although the options will not be hidden but disabled on IE.
$('#delivery_time option[value="06:30"]').removeAttr('disabled').show(); // To Show/Enable
$('#delivery_time option[value="06:30"]').attr('disabled', 'disabled').hide(); // To Hide/Disable
Here is the source where I stumbled upon these 2 lines: IT Support Guides - Internet Explorer – How to hide select options using jQuery