JavaScript之oninput和onchange

oninput

当input的value值发生变化时就会触发,与onchange的区别是不用等到失去焦点就可以触发了。

posted @ 2023-12-14 15:08  vvull  阅读(4)  评论(0编辑  收藏  举报