[英]Jquery: How can i track changes in input elements?
I need to track changes on an input element but this should be done whenever anything change its value, not only users typing. 我需要跟踪输入元素的更改,但是只要有任何更改值,就应该这样做,而不仅仅是用户输入。
The keyup event is not what i need as already specified and the change event only works when the input loses focus. keyup事件不是我已经指定的,并且change事件仅在输入失去焦点时才起作用。
Any ideas of how can i do this? 我怎么能这样做的想法?
你能不能只为“改变”,“粘贴”和“剪切”事件绑定处理程序,以及“按键”或“键盘”?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.