web之家  

2017年3月24日

摘要: 一、在输入框内容变化的时候不会触发,当鼠标在其他地方点一下才会触发 $('input[name=myInput]').change(function() { ... }); 二、在输入框内容变化的时候会触发 $("#input_id").on('input',function(e){ alert(' 阅读全文
posted @ 2017-03-24 10:26 路修远而求索 阅读(7152) 评论(0) 推荐(0)