How do I move focus to next input with jQuery?

后端 未结 15 1839
不思量自难忘°
不思量自难忘° 2020-12-04 09:32

I am using the autocomplete plugin with jQuery and it is working fine. However, in IE, when the user selects an item in the autocomplete, the focus does not then move to the

15条回答
  •  死守一世寂寞
    2020-12-04 10:11

    onchange="$('select')[$('select').index(this)+1].focus()"
    

    This may work if your next field is another select.

提交回复
热议问题