无法显示消息框对话框

时间:2013-01-02 08:23:36

标签: php ajax

我有这段代码:

function delTempBill() {
    if ($('#bills_ID').val() == '') {
        popUpMessage("Error", "choose bills to delete", 2);
    } else {
        $.ajax({
            url: "DelTempBill.php",
            type: "POST",
            data: {
                draft: "ok",
                bills_ID: selectedTempId
            },
            dataType: "json",
            success: function (data2) {
                if (parseInt(data2) > 0) {
                    $("#tempBills" + selectedTempId).remove();
                    popUpMessage("Done", "Bills was Delete", 2);
                    newGrid();
                }
            }
        });
    }
}

此代码用于从表中删除账单,当我调用此功能时,账单被删除但邮件无法显示。

为什么?

0 个答案:

没有答案