异步提交

 //异步提交
 2         $.ajax({
 3             type: "Post",
 4             url: "/common/review",
 5             success: function (data) {
 6                 alert(data.res);
 7             }
 8         });
 9 
10         //同步提交
11         $("form").submit();

 

posted @ 2013-03-20 23:47  James·wang  阅读(201)  评论(0编辑  收藏  举报