0
我有以下,基本上從變量'href'動態地加載數據到指定的div容器。互聯網瀏覽器發出:「對象不支持這個屬性」
setTimeout(function() {
$.get(href, function(source) {
var html = $(source);
content = html.find("#content").html();
$("#content").html(content);
$("#content").animate({marginLeft: "0px"}, 1000);
$("#ajax-loader").fadeOut(150);
});
}, 500);
完全工作在火狐,Chrome等,但似乎並沒有對IE 8
任何工作思路?
var html = $(source)在做什麼? – Bytemain
接受來自get請求的響應(所以它使得一個jquery對象離開了一個html頁面) –