title: .focus() event is not working
body: <p>when my php page loads some jQuery should set focus to my input textbox but it does not</p>
  
  <p>I have tried css selectors like <code>input[tabindex=1]</code> and <code>#31</code> but to no avail...</p>
  
  <p>here is the jQuery (version 1.7.1)</p>
  
  <pre><code>$(function() {
  $('input[tabindex=1]').focus(); // also tried   $('#31').focus(); 
  });
  </code></pre>
  
  <p>and here is the HTML</p>
  
  <pre><code>&lt;input tabindex='1' type='text' class='tablefilter' id='31' style='width:80px;border:inset 2px grey;background-color:white;font-size:12px;border-radius:0px;-moz-border-radius:0px;-webkit-border-radius:0px;'/&gt;
  </code></pre>
  
  <p>any clues as to why this isn't working?</p>