可能重复: javascript textbox call event when value changes
如何检查文本框中的值是否已更改?不使用按钮.(在javascript中自动更新!)
发布于 2012-12-04 14:21:37
使用:
<input type="text" id="myInput" onchange="alert('changed')" />
https://stackoverflow.com/questions/13704876
相似问题