add class to option in select
<p>Based on the value of an option would that be possible to add a class to an option?</p>

<p>So if i have this:</p>

<pre><code>   &lt;select class="rubrique" name="ctl00"&gt;
    &lt;option value="" selected="selected"&gt;&lt;/option&gt;
    &lt;option value="1"&gt;1&lt;/option&gt;
    &lt;option value="1"&gt;1&lt;/option&gt;
    &lt;/select&gt;
</code></pre>

<p>i'll get that:</p>

<pre><code>&lt;select class="rubrique" name="ctl00"&gt;
        &lt;option class="" value="" selected="selected"&gt;&lt;/option&gt;
        &lt;option class="1" value="1"&gt;1&lt;/option&gt;
        &lt;option class="2" value="1"&gt;1&lt;/option&gt;
        &lt;/select&gt;
</code></pre>
