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(); } });