keypress事件当在回调函数执行e.preventDefault()时,会阻止字符显示到表单元素上。我们不管怎么按键,input或者textarea都不显示输入的字符。
1520
617
603
258
202
近期评论