有没有方法可以从HTML表单的选项卡顺序中排除一个元素。 如果我有以下内容<input type=text name=username> <input type=text name=password> <input type=button name=forgotpassword> <input type=submit name=login> 我知道可以使用tabindex作为1、2、3、4,但我不想给所有字段编号。我的应用程序是动态创建字段的。
tabindex="4"
,其余设置为1-3的tabindex
难道真的很难吗? - Lambart