get selected element containing specific word on text - jquery
<p>i want to check if selected item contains specific word. Ex:</p>

<pre><code>  &lt;select name='project_type' id='type'&gt;
  &lt;option value='1'&gt;Interpretation - S&lt;/option&gt;
  &lt;option value='2'&gt;Interpretation - K&lt;/option&gt;
  &lt;option value='5'&gt;Editing&lt;/option&gt;
  &lt;option value='7'&gt;Translation&lt;/option&gt;
  &lt;/select&gt;
</code></pre>

<p>Jquery:</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(document).ready(function(){

        //Hide div w/id extra
       $("#work1").show();
       $("#work2").hide();
        // Add onclick handler to checkbox w/id selected
       $("#type").live('click', function(){

        // If checked
        if (!$("#type:selected").text(contains('interpretation')))
        {
            //show the hidden div
            $("#work1").show();
                    $("#work2").hide();
        }
        else    if ($("#type:selected").text(contains('interpretation')))
        {
            //otherwise, hide it
            $("#work2").show();
                    $("#work1").hide();
        }
      });

    });
&lt;/script&gt;
</code></pre>

<p>I need to get the selected element which contains 'interpretation' on text (i want all elements containing that word). I made this :<code>$("#type:selected").text(contains('interpretation'))</code> but doesn't function. 
Please, anybody can help? </p>
