页面刚
加载下来的时候能正常显示,但是翻页后(ajax翻页),效果就出不来了!
原来的代码为:
改写代码为:
原理就是:事件绑定,把这个事件交由更高一级的权限!
总结:ajax对后来加载过来的东西不起作用,解决办法就是绑定!