1,通过jquery.change方法监听文本框,但在失去焦点后才会触发????
解决方案:
使用input事件,propertychange是为了兼容IE
$('input,textarea').on('input propertychange', function(e){
});
…未完,待续!
1,通过jquery.change方法监听文本框,但在失去焦点后才会触发????
解决方案:
使用input事件,propertychange是为了兼容IE
$('input,textarea').on('input propertychange', function(e){
});
…未完,待续!