Dynamically add to TR class value from selected option
<p>Probably easy task but I can not find working solution?</p>

<p>I need add a class value of selected option to relative TR:</p>

<pre><code>&lt;table&gt;
&lt;tr class="odd views-row-first"&gt;
&lt;td class="views-field views-field-website-id"&gt;1&lt;/td&gt;
&lt;td class="views-field views-field-changed"&gt;1349422708&lt;/td&gt;
&lt;td class="views-field views-field-created"&gt;1349422708&lt;/td&gt;
&lt;td class="views-field views-field-title"&gt;Double field&lt;/td&gt;
&lt;td class="views-field views-field-field-rules-conditional  views-field-editablefield"&gt;
&lt;div id="editablefields-field-rules-conditional" class="editablefield-item"&gt;

&lt;select id="edit-field-rules-conditional-0-field-rules-conditional-und" name="field_rules_conditional[0][field_rules_conditional][und]" class="form-select"&gt;
&lt;option value="_none"&gt;- None -&lt;/option&gt;
&lt;option value="green"&gt;green&lt;/option&gt;
&lt;option value="red"&gt;red&lt;/option&gt;
&lt;option value="blue" selected="selected"&gt;blue&lt;/option&gt;
&lt;/select&gt;

&lt;/div&gt;         
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;​
</code></pre>

<p>What I want to have:</p>

<pre><code>&lt;tr class="odd views-row-first blue"&gt;
</code></pre>
