普通绑定事件:(‘.btn1′).click(function()绑定//动态增加的元素绑定事件on绑定事件:(document).on(‘click’,’.btn2’,function(){})绑定 .btn是ajax加载的html内容样式选择器
普通绑定事件:(‘.btn1′).click(function()绑定//动态增加的元素绑定事件on绑定事件:(document).on(‘click’,’.btn2’,function(){})绑定 .btn是ajax加载的html内容样式选择器