当我用TAB键移动的时候,按顺序的话是依次经过<td>1</td>,,,<td>2</td>,,<td>3</td>
,可我现在想从1跳到3,越过2。该怎么做啊?急!!!!!!

解决方案 »

  1.   

    表格我不知道,我只知道表单内容,如<input type="text"  tabindex="1">
    这里的 tabindex属性支持tab键编号,取值范围1-999
      

  2.   

    你理解错了,不是控制它跳过哪一个...
    而是控制你所有的组建,按TAB建时候的顺序.....
    我也不是很熟
    如 huguang(胡广) ( ) 所说
       表格我不知道,我只知道表单内容,如<input type="text"  tabindex="1">
    这里的 tabindex属性支持tab键编号,取值范围1-999你的表单如果象这样:
    <input type="text"  tabindex="1">
    <input type="text"  tabindex="3">
    <input type="text"  tabindex="2">
    <input type="text"  tabindex="4">那么当你在tabindex="1"按TAB,会跳到tabindex="2",再按,会跳到tabindex="3"按你的说法,就是跳到第三个,再跳到第二个
      
     
      

  3.   

    属性 tabindex="-1" 这样按tab键就不会跳到这项