Explicitly exclude html element from tab list

In any case, to exclude an element from the tab order of the HTML form.

So, if I have

<input type=text name=username> <input type=text name=password> <input type=button name=forgotpassword> <input type=submit name=login> 

I know that I can use tabindex as 1,2,3,4, but I do not want the number of all fields. My application dynamically creates fields.

thank

Jason

+46
html forms tabindex
09 Oct '10 at 4:31
source share
1 answer

Setting tabindex to -1 will make the element irreconcilable (if this word) :)

 <input type="text" name="username" tabindex="-1" /> 
+114
09 Oct 2018-10-10T00:
source share



All Articles