JQuery 載入網頁至DIV時, 增加載入失敗CallBack
JQuery 載入網頁至DIV時, 增加載入失敗CallBack
$('#div_content').load('_GetList?'
+ 'AA=' + AA
+ '&BB=' + BB
function (response, status, xhr) {
if (status == "error") {
var msg = "Error!" + xhr.status + " " + xhr.statusText;
alert(msg);
}
});
留言
張貼留言