setting html select with jquery val() with its innerhtml
<p>I am trying to set the selected attribute on a select pull down with jquery val(). I only have the caption (aka innerhtml) of the element I want the selected, but not the value.
For example:</p>

<p>A pulldown of states. I want the "New york" option to be selected. I want to write a jquery statement which does</p>

<pre><code>$("#pull-down").val([get value of the option tag which has "New York" as its innerhtml])
</code></pre>

<p>Is this possible?</p>
