If all $("option:selected") has $(this).val do something
<p>I have a group of Selects. I am trying to do something like:</p>

<p>If each <code>$("option:selected")</code> has <code>$(this).val='equal in all'</code> do something.</p>

<p>But I don't know if I try to put each value in a <code>var</code> then compare or do a count.</p>

<p>Maybe should it be something like IF ALL has....</p>

<p>This code works, but can see what to do with it...</p>

<p>It is inside an on change function, so it will alert only when I select</p>

<pre><code>$("option:selected").each(function () {
    alert ($(this).val();)
});
</code></pre>

<hr>

<p>It is something like <a href="http://jsfiddle.net/xGRep/" rel="nofollow">this</a>.</p>

<p>If both(all) selects is selected if value= Show All, do something.</p>
