I\'ve realized that Chrome, it seems, will not allow me to hide in a . Firefox will.
I need to hide the
this one seems to work for me in chrome
$("#selectid span option").unwrap(); $("#selectid option:not([filterattr=filtervalue])").wrap('');