jquery ajax
$.ajax({ type: "post", url: '', async: false,//默认true,同步请设置false data: {},
error:function(){
}, success: function (data) { } });
$.post("ajax/test.html", function(data) { });
参数设置请参考:http://www.w3school.com.cn/jquery/ajax_ajax.asp
欢迎指正:haizi2014@qq.com