javascript - Why is it that the input box in the project suddenly cannot input text? There is a cursor and the text cannot go up when typing on the keyboard. Can any expert encounter such a problem and ask for a solution?
代言2017-07-05 11:00:40
0
4
1045
Why is it that the input box in the project suddenly cannot input text? There is a cursor and the text cannot go up when typing on the keyboard. Who has encountered such a problem and can you please solve it
Either it crashes, or the input box is restricted.
Maybe your keyboard is broken
Generally, in this case, your input box should be restricted. Take a look at your onchange method
Write a retrun false in the keydown event, you are cheating yourself