jquery .focus not working for input:first
<p>We are having an issue where when we open a modal window we are trying to set the focus to the first input element in the modal that is not of type hidden. here is what we are trying:</p>

<pre><code>$("#test-overlay input[type!=hidden]:first").focus();
</code></pre>

<p>However, this call works:</p>

<pre><code>$("#test-overlay #loginInput").focus();
</code></pre>

<p>The input field has an id of loginInput. </p>

<p>Any thoughts?</p>
