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

html

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

jquery

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

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