Jquery why would .onfocus or .select bring focus on an adjacent selector
<p>What I wish to happen - when I tab away from the second to last tab in the tabindex I want to check to see if the submit button is disabled (which is it until all validations successful). If is is disabled I do not want to proceed to the next tabindex (which looses all focus as the button is disabled). In stead I want to return to the first tabindex.</p>

<p>I have tried doing this by cycling through the tabindex and selecting when tabs index = 1.
I have also tried simply setting focus on the named selector.</p>

<p>In each case the hightlighted field is NOT the first in the form it is the second. Ditto if I try to redirect to the second field the third field highlights.</p>

<p>This makes no sense. And is doubling confusing as I set focus elsewhere on other fields without an issue.</p>

<p>Could anyone suggest a circumstance where this could happen.</p>

<pre><code> switch(event.which){
    ......
    case 9:
    kp_Count++;
    // skip create button if disabled
    if ($(".form_Submit").attr("disabled") == "disabled"){
        alert("in");
        $("#first_Name").focus();
    };


&lt;form id="create_Client" action="process_Client_Create.php" method="post"&gt;
   &lt;div class="form_Col_1"&gt;
   &lt;div class="form_Row"&gt;
    &lt;a class="field_Label_Left"&gt;First Name:&lt;/a&gt; &lt;input class="field_Input_Left" id="first_Name" tabindex="1" type="text" name="first_Name"/&gt;&lt;br /&gt;
   &lt;/div&gt;
  &lt;div class="form_Row"&gt;
    &lt;a class="field_Label_Left"&gt;Middle Name:&lt;/a&gt; &lt;input class="field_Input_Left" id="middle_Name" tabindex="2" type="text" name="middle_Name"/&gt;&lt;br /&gt;
  &lt;/div&gt;    
</code></pre>

<p>P:S I have to step out until this afternoon. But I will look in later. Many Thanks          </p>
