Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试做某事,但我不确定它叫什么或我应该寻找什么。
我想在jquery中做到这一点。
基本上当您在输入框中时,如果用户输入一个字符,我希望插入符号自动跳转到下一个输入框。银行一般都有。
这是什么课程或我应该寻找什么?
谢谢你的帮助。
输入第 5 个字符后转到下一个输入框:
$('#in1').keyup(function() { if ($('#in1').val().length > 4) { $('#in2').focus(); } });