实时监听 input输入框值的变化 并响应动作

html

<input type="text" id="id">

jquery

$("#id").bind('input propertychange',function() {
 //dosomething
}
});

posted @ 2017-03-03 10:19  duyunchao  阅读(2472)  评论(0)    收藏  举报