Can jQuery each() be used to modify each item(option) in a select list?
<p>Given this select list:</p>

<pre><code>&lt;select id="my_list"&gt;
    &lt;option value="one"&gt;One&lt;/option&gt;
    &lt;option value="two"&gt;Two&lt;/option&gt;
    &lt;option value="three"&gt;Three&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>I'd like to do a jQuery that iterates over each of the option items and changes it to disabled when a certain condition of my each() statement is met.</p>

<p>I'm trying this (just as a test):</p>

<pre><code>$('#my_list').each(function(){
    alert('test');
    if($(this).val()=='two')){
        $(this).css('background-color':'gray','padding':'10px');
    }
});
</code></pre>

<p>But the alert never fires to tell me its iterating over the values of the option list.</p>
