title: jQuery how to select options by values?
body: <p>How to select options which are not in 'restrictedIds', for example, selector should select the options with values 24 and 31.
  Also I know how it could be done with using '.inArray' and '.each()' but it would be good to look at yours solutions. Thank you.</p>
  
  <pre><code>...
  var restrictedIds='0,38,23';
  ...
  &lt;select class="text4" size="1" name="drivers"&gt;
          &lt;option value="0"&gt;&lt;/option&gt;
          &lt;option value="24"&gt;test1&lt;/option&gt;
          &lt;option value="31"&gt;test2&lt;/option&gt;
          &lt;option value="38"&gt;test3&lt;/option&gt;
          &lt;option value="23"&gt;test4&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>