<button onclick="ajaxSubmitForm()">確認修改</button>function ajaxSubmitForm(){
$("#uploadexcel").ajaxSubmit({
url: "updateWebsite.action", type: "post",
enctype: 'multipart/form-data',
dataType:'json',
success: function (data)
{
alert(data.errMsg);
window.location.reload();
}, error: function (data)
{
alert("出錯");
}
})
}這是什么情況,表單提交了,成功執行了控制層的方法,但是請求就這樣結束了,沒有走success和error任何一個方法,什么情況
jquery.form.min.js 使用問題
大話西游666
2018-09-13 11:10:05