0

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.

4

1 回答 1

1

您可以onkeyup在最后一个输入上添加一个并检查是否按下了 tab 键,然后运行类似的东西your_first_input.focus(),以便它跳转到第一个输入。

于 2011-08-18T08:40:47.210 回答