动态加载的下一页无法执行js
这个是动态加载页面的代码:var apoyl_pagescroll_jq=jQuery.noConflict(),apoyl_pagescroll_state=!0;apoyl_pagescroll_jq(window).scroll(function(){0==apoyl_pagescroll_state&&apoyl_pagescroll_jq(".page").css("display","none");var e=apoyl_pagescroll_jq(".apoyl_pagescroll_div").offset().top,f=apoyl_pagescroll_jq(document).scrollTop()+apoyl_pagescroll_jq(window).height(),a=apoyl_pagescroll_jq(".apoyl_pagescroll_div").attr("now"),c=apoyl_pagescroll_jq(".apoyl_pagescroll_div").attr("num"),g=apoyl_pagescroll_jq(".apoyl_pagescroll_div").attr("fid");a>=c&&(apoyl_pagescroll_jq(".page").css("display","block"),apoyl_pagescroll_jq(".page").html("\u4eb2\uff0c\u6ca1\u6709\u66f4\u591a\u6570\u636e\u4e86\uff01"));f>e&&1==apoyl_pagescroll_state&&(apoyl_pagescroll_state=!1,setTimeout(function(){apoyl_pagescroll_jq(".page").css("display","block");apoyl_pagescroll_jq(".page").html('\x3cimg src\x3d"source/plugin/apoyl_pagescroll/pub/img/load.gif" /\x3e');a++;apoyl_pagescroll_jq(".apoyl_pagescroll_div").attr("now",a);apoyl_pagescroll_jq.ajax({url:"forum.php?mod\x3dforumdisplay\x26fid\x3d"+g+"\x26page\x3d"+a+"\x26mobile\x3dyes",type:"GET",cache:!1,dataType:"html",success:function(b){b=apoyl_pagescroll_jq.parseHTML(b);var d=apoyl_pagescroll_jq(b).find(".threadlist").find("ul").html();void 0!=d?apoyl_pagescroll_jq(".threadlist").append(d):apoyl_pagescroll_jq(b).find("ul").each(function(){apoyl_pagescroll_jq(".threadlist").append(apoyl_pagescroll_jq(this).html())});apoyl_pagescroll_state=a>=c?!1:!0},error:function(){apoyl_pagescroll_jq(".apoyl_pagescroll_div a").text("\u52a0\u8f7d\u9519\u8bef,\u8bf7\u5237\u65b0\u9875\u9762\uff01")}})},500))});
大神们看看有什么问题吗,这是我的一个dz论坛使用插件改成了帖子列表无限滚动加载下一页的js,我需要每个帖子都进行一次js来控制帖子的显示与隐藏,但加载出来的下一页是看不到也执行不了里面的js的。