jQuery を使用してページから新しいコンテンツを読み込む履歴 API スクリプトがあります。というタイトルの新しくロードされた div をフェードインするにはどうすればよい#load
ですか?
$.ajax({
url: url,
type: 'GET',
dataType: "html",
success: function (responseData) {
$("#main").html($("#load", responseData).html());
if (url =='Home'){
$.get("phpscripts/getFeed.php",function(result){
$("#newsFeed").html(result);
});
}
},
error: function (jqXHR, textStatus, errorThrown) {
alert(jqXHR.status + " : " + errorThrown);
}
});