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);
        }
    });

 

 

 

留言

這個網誌中的熱門文章

ORA-12514: TNS: 監聽器目前不知道連線描述區中要求的服務

Oracle 例外控制(Exception Control)

Oracle 工作排程 DBMS_JOB 筆記