ajax

              $.ajax({
                            type: "xxxx",
                            url: "xxx",
                            data: { "xxx": "xxx"},
                            success: function (data, status) {
                                if (status == "success") {
                                    toastr.success('提交数据成功');
                                }
                            },
                            error: function () {
                                toastr.error('Error');
                            }
    
                });

posted @ 2018-02-06 15:22  wangbotianhui  阅读(111)  评论(0编辑  收藏  举报