Jquery 使用load()和淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出
如何使用带有fadein和fadeout的jquery的Jquery 使用load()和淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出淡出,jquery,html,Jquery,Html,如何使用带有fadein和fadeout的jquery的load()函数从另一个页面加载 $( ".content_here" ).fadeOut("slow").load("each_article_content.php","id="+id).fadeIn("slow") 但是它不能正常工作您需要使用函数回调,在操作完成时调用它们: $( ".content_here" ).fadeOut("slow", function(){ $(this).load("each_articl
load()
函数从另一个页面加载
$( ".content_here" ).fadeOut("slow").load("each_article_content.php","id="+id).fadeIn("slow")
但是它不能正常工作您需要使用函数回调,在操作完成时调用它们:
$( ".content_here" ).fadeOut("slow", function(){
$(this).load("each_article_content.php","id="+id, function(){
$(this).fadeIn("slow")
})
})
我也会像“卡尔·安德烈”一样发表同样的评论