开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜