Reputation: 1
is it possible to skip the url field when tab button is pressed in a form? like after it goes to the last input element i wanted it to go back to the first input element instead of going to the url field!
thanks a alot.
Upvotes: 0
Views: 138
Reputation: 858
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.
Upvotes: 1