开发者

Controlling tabbing in form inputs

开发者 https://www.devze.com 2023-03-29 12:24 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消