js ajax请求

$.ajax({
    url: "",
    type: "post",
    async: false,// 默认为true:异步; false:同步
    data: {},
    dataType: "json",
    error: function() {},
    success: function(data) {}
});

 

posted @ 2015-08-18 17:20  蒲木杉  阅读(115)  评论(0编辑  收藏  举报