Navigating through text input fields using arrow keys and return

后端 未结 2 1832
日久生厌
日久生厌 2021-01-16 23:08

I\'m trying to build a simple navigation mechanism between multiple input fields using jQuery. The first part of the code, skipping down by using the down arrow or return ke

相关标签:
2条回答
  • 2021-01-16 23:14

    change if (event.keyCode == 13 || 40) {... to if (event.keyCode == 13 || event.keyCode == 40) { ...

    0 讨论(0)
  • 2021-01-16 23:27

    This blog will help you.

    demo page

    http://jqdev.blogspot.in/2012/01/traverse-cursor-through-text-box-with.html

    0 讨论(0)
提交回复
热议问题