ajax的表单提交
$.ajax ({ url: "<%=basePath%>resource/addPortDetectOne.action", dataType: "json", method : ‘post‘, data: $("#form_portDetect").serialize(), //传送表单数据 |
ajax传送数据
$.ajax ({ url: "<%=basePath%>resource/updatePortDetect.action", dataType: "json", method : ‘post‘, //传送请求数据 pkid :$("#form_portPkid").val(), |