tinks
tinks

Reputation: 1

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 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

Answers (1)

Niclas Larsson
Niclas Larsson

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

Related Questions