设置TAB键顺序
将txt11,txt21,txt31的TAB键顺序设置成1
将txt12,txt22,txt32的TAB键顺序设置成2
将txt13,txt23,txt33的TAB键顺序设置成3

解决方案 »

  1.   

    像楼上那样做
    怎么用回车代替Tab? 看看JS吧
    :)
    如果输入长度固定, 判断长度在跳转焦点的话连回车都省了
      

  2.   

    如果是按回车就跳转可以在每个text中加入
    <input type=text name=txt11 onkeypress="if(event.keyCode==13) document.all.txt12.focus();">
      

  3.   

    <input type=text name=txt11 size="20" tabindex="1" id=txtn>
    <input type=text name=txt12 size="20" tabindex="2" id=txtn> 
    <input type=text name=txt13 size="20" tabindex="3" id=txtn> 
     <p>
    <input type=text name=txt21 size="20" tabindex="1" id=txtn>
    <input type=text name=txt22 size="20" tabindex="2" id=txtn> 
    <input type=text name=txt23 size="20" tabindex="3" id=txtn> 
     <p>
    <input type=text name=txt31 size="20" tabindex="1" id=txtn>
    <input type=text name=txt32 size="20" tabindex="2" id=txtn> 
    <input type=text name=txt33 size="20" tabindex="3" id=txtn> 
     
    <script for=txtn event=onkeydown>
    if (event.keyCode==13){
    el=event.srcElement;
    if (el.name=="txt33") document.all.txt11.focus();
        else event.keyCode=9;
    }</script>
    <script >
    document.all.txt11.focus();
    </script>