Is there a way to have keyup
, keypress
, blur
, and change
events call the same function in one line or do I have to do them separately?
(有没有办法让keyup
, keypress
, blur
和change
事件在一行中调用相同的函数,还是必须单独执行?)
The problem I have is that I need to validate some data with a db lookup and would like to make sure validation is not missed in any case, whether it is typed or pasted into the box.
(我遇到的问题是我需要使用数据库查找验证一些数据,并且希望确保在任何情况下都不会错过验证,无论是键入还是粘贴到框中。)
ask by shaneburgess translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…