var form = new FormData(document.getElementById("friendshipCooperationFrom"));
$.ajax({
url:"<%=basePath%>${action }",
type:"post",
data:form,
processData:false,
contentType:false,
success:function(data){
alert(data);
},
error:function(e){
alert("错误!!");
}
});
new FormData();
from表單無法序列化文件,使用FormData