动态填见进去的元素 绑定的事件 有时绑定不上 

1 先解绑 在从新绑定

$(".className").unbind('click').bind('click',function(){

})

2也可以绑定document 也可以

$(document).on('click','.className',function(){

})

posted on 2018-04-08 14:47  刘世涛6192  阅读(124)  评论(0编辑  收藏  举报