Controlling tabbing in form inputs
is it possible to skip the url field when tab button is pressed in a form? like after it goes to the la开发者_JS百科st input element i wanted it to go back to the first input element instead of going to the url field!
thanks a alot.
You can add an onkeyup
on your last input and check if the tab-key was pressed and then run something like your_first_input.focus()
, so that it jumps to the first input.
精彩评论