Can't type inside a textarea after tabbing to its containing div?
<p>Can't type inside the textarea after tabbing to its (id="center") containing div?</p>

<p>Here is the code...</p>

<pre><code> &lt;div id="north"&gt;North&lt;/div&gt;
 &lt;div id="west"&gt;West&lt;/div&gt;
 &lt;div id="center"&gt;&lt;textarea&gt;&lt;/textarea&gt;&lt;/div&gt; 
</code></pre>

<p>Script</p>

<pre><code>$(document).ready(function() {
    var divs = ["north", "west", "center"];
    var startIndex = 0;
    $(document).keydown(function(e) {
        if (e.which == 9) {
            $("div").css("border", "");
            $("#" + divs[startIndex]).css("border", "4px solid gray");
            startIndex++;
            if (startIndex === divs.length) {
                startIndex = 0;
            }
        }
        return false;
    });
});​
</code></pre>
