52,797
社区成员
发帖
与我相关
我的任务
分享
$.ajax({
url:"Ajax/quns.php",
dataType:"xml",
success:function(data){
$(data).find("nav>categorys").each(function(){
$(this).find("category").each(function(i){
$(this).find("items>item").each(function(j){
$("#weipub").append("<li><a href=\""+$(this).find("link").text()+"\"><dt>"+$(this).find("name").text()+"</dt></a></li>")
})
})
})
}
});
<ul id="weipub">
//这里面的数据条数是jquery轮询生成的
</ul>
$("#div1").animate({ height: 'toggle', opacity: '1.0' }, 'slow');
//这种特效可以控制前端已经定义好的标签的特效,但是无法控制依靠js代码生成的标签特效