jquery ajax方式直接提交整个表单

$.ajax({       type: "POST",       url: url,       data: $('#form1').serialize(),       success: function(msg){         alert( "Data Saved: " + msg );      }   });


你可能感兴趣的:(jquery,Ajax)