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表單無法序列化文件,使用FormDatajavascript