当前位置:Gxlcms > JavaScript > jquery ajax方式直接提交整个表单核心代码

jquery ajax方式直接提交整个表单核心代码

时间:2021-07-01 10:21:17 帮助过:5人阅读

代码如下:

$.ajax({
type: "POST",
url: url,
<SPAN style="COLOR: #ff0000">data: $('#form1').serialize(),</SPAN>
success: function(msg){
alert( "Data Saved: " + msg );
}
});

人气教程排行