creating a filter for a select menu and having a few problems!
the first one is
$("#filterContentMenu option:contains(a)").hide();
doesn’t work but
$("#filterContentMenu option:contains(a)").remove();
does.
Actually this only seem to be a problem in safari! Works in firefox?
.hide()sets an element’sdisplaytonone. You can’t set an<option>todisplay: none, it won’t work in all browsers. You can remove them and retain a reference to them, though: