ajax

it2022-05-09  33

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

转载于:https://www.cnblogs.com/jennyWangBlogs/p/8422558.html

相关资源:AjaxRequest(Ajax使用包)

最新回复(0)