使用事件代理。。可以用jq中的on,或者delegate来做$('body').on('click',"#btn",function(){})这样写就是为后来添加的元素绑定事件用的。。$('table').on('blur','input',function(){})