日期:2014-05-16  浏览次数:20596 次

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

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