Jas*_*son 54 html forms tabindex
无论如何要从HTML表单的Tab键顺序中排除元素.
所以如果我有以下内容
<input type=text name=username>
<input type=text name=password>
<input type=button name=forgotpassword>
<input type=submit name=login>
Run Code Online (Sandbox Code Playgroud)
我知道我可以使用tabindex作为1,2,3,4,但我不想对所有字段进行编号.我的应用程序是动态创建字段.
谢谢
贾森
Mar*_*rko 129
设置tabindex为-1将使元素无法实现(如果这是一个单词):)
<input type="text" name="username" tabindex="-1" />
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
21602 次 |
| 最近记录: |