Check if options is selected
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/149573/check-if-option-is-selected-with-jquery-if-not-select-a-default">Check if option is selected with jQuery, if not select a default</a>  </p>
</blockquote>



<p>I have html like this:</p>

<pre><code>&lt;div id="somedivid"&gt;

&lt;select class="someclass"&gt;
&lt;!-- options --&gt;
&lt;/select&gt;

&lt;select class="someclass"&gt;
&lt;!-- options --&gt;
&lt;/select&gt;

&lt;/div&gt;
</code></pre>

<p>How to check if options is selected in both select boxes?</p>

<p>EDIT: i cant change html, so it means i cant add ids to select elements.</p>
