jQuery序列化Ajax提交表单
var formData=$("form").serialize(); $.ajax({ type: "POST", url: "/front/EPtemplate.do", processData:true, data:formData, success: function(data){ $("#result").html("保存成功"); } });
var formData=$("form").serialize(); $.ajax({ type: "POST", url: "/front/EPtemplate.do", processData:true, data:formData, success: function(data){ $("#result").html("保存成功"); } });