title: Set focus to first empty input or textarea with jQuery
body: <p>I'm trying to set the focus to the first blank <code>input</code> or <code>textarea</code> field on a page. This works with <code>input</code>s, but not with <code>textarea</code>s. </p>
  
  <pre><code>$(':input:text[value=""]').first().focus()
  </code></pre>
  
  <p>Can anyone help me?</p>