How can I write the following keys in Textboxusing JavaScript?
Ctl + a
Ctl + c
Ctl + v
Below is the initial situation.
I have three Textboxesfor phones. Textbox1the maximum length is 3, the second is 3, and the third is 4. When the user enters three digits in Textbox1, the cursor automatically moves to TextBox2the same thing happens with TextBox2, as well as with TextBox3. I handle this functionality in a keyup event. Now, I use your code in parallel. But it also goes to the keyup event. This happens when all text fields are filled. Now suppose I am in TextBox1 and presses Ctl + A. This moves the user to the third TextBox (unacceptable case). This is problem.
source
share