html page with one input "text". where does the focus go? -


Because I'm having some problems while using onblur / onkeydown (for tabs) etc.

I would like to ask this question:

If I have only one input text page and I will go there and I am focusing on the "tab" where Am going I would like to know because I do not want to lose focus on input text ...

My page is like this:

     

If you specifically type that text field in the autofocus attribute < / P>

  & lt; Input type = "text" autofocus / & gt;   

Or if you want to map tabs in a custom way, then tabindex attribute

  & lt; A href = "#" tab index = "2" & gt; Tab 2 & lt; / A & gt; & Lt; Br / & gt; & Lt; A href = "#" tabindex = "1" & gt; Tab 1 & lt; / A & gt; & Lt; Br / & gt; & Lt; A href = "#" tabindex = "3" & gt; Tab 3 & lt; / A & gt;   

When there is 1 input text field and after that nothing happens, the focus may not even go to the browser's address bar, or possibly add it to the bar if add-on If you add any browser to the bar

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -