动态生成的元素,使用.on绑定事件,比如$(document).on("click",".divclick",function(){}) 转载于:https://www.cnblogs.com/jinshuo/p/6137857.html