您的位置:首页 > 其它

异步上传图片

2015-08-18 11:13 288 查看
var fd = new FormData(document.getElementById("file-form"));
url: "scmCarrier/upload/${scmCarrier.carrierId}",
type: "POST",
data: fd,
enctype: 'multipart/form-data',
processData: false, // tell jQuery not to process the data
contentType: false // tell jQuery not to set contentType
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: