trying to hide options from selectlist .. not working on chrome and ie
<p>I have a select lists, which has lots of option. Depending on some input I want to hide few options from select list. To hide options from select list I have written jquery like </p>

<pre><code>$('#selectlist1 option').each(function(){  

   $(this).hide();

})
</code></pre>

<p>But this code seems to work only for firefox and its not working on chrome and ie. Whereas if I write </p>

<pre><code>$('#selectlist1').hide();
</code></pre>

<p>it works for all browser. Any pointer where should I look at?</p>
