html - Tabindex not working for button -
I am using a button to submit my form, but the tabindex works on everything but the button I can not get the button to highlight everyone by using the tab key.
& lt; Button type = "submit" class = "button" tabindex = "11" & gt; Submit & lt; / Button & gt;
Any ideas?
I just tried to make this issue but my example works.
& lt ;! DOCTYPE html & gt; & Lt; Html & gt; & Lt; Top & gt; & Lt; Title & gt; & Lt; / Title & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Input type = "text" tabindex = "1" /> & Lt; Input type = "text" tabindex = "2" /> & Lt; Input type = "text" tabindex = "3" /> & Lt; Input type = "text" tabindex = "4" /> & Lt; Button type = "submit" tabindex = "5" & gt; Submit & lt; / Button & gt; & Lt; / Body & gt; & Lt; / Html & gt;
- What's next for 11 tandengs (maybe you're missing one)?
- Which browsers are you using?
Edit: This example works for me in IE, Firefox, and Chrome.
Editing 2: Here's a JSfield link which is working fine:
Comments
Post a Comment