标签:cache .ajax cti AC 使用 formdata var process post
var oMyForm = new FormData(); oMyForm.append("username", "Groucho"); oMyForm.append("accountnum", 123456); oMyForm.append("file", $(‘#file‘)[0].files[0]); $.ajax({ url: ‘/Manage/UploadImg‘, type: ‘POST‘, cache: false, data: oMyForm, processData: false, contentType: false, async: false,
error: function (request) {
},
success: function (data) {
}
});
标签:cache .ajax cti AC 使用 formdata var process post
原文地址:https://www.cnblogs.com/ranqingfeng/p/8960897.html