focus() will not work
<p>I am at a loss here, never had a problem with this before.<br>
I cannot get focus() to work at all in any browser.  I'm using jquery and can't even get it to work with standard javascript. I tried adding the timeout as well but still nothing.  All I get in the alert is "undefined".</p>

<p>Here is the input</p>

<pre><code>&lt;input type="text" name="SearchBox" id="SearchBox" class="SearchBox" /&gt;
</code></pre>

<p>and here is the jquery</p>

<pre><code>$(document).ready(function(){
    setTimeout(function(){
        $("#SearchBox").focus();
    }, 0);
    alert($("*:focus").attr("id"));
});
</code></pre>

<p>I've stripped the page down to just the above in case something was interfering with it but still no success.  It has to be something simple I'm missing!!!!</p>
