$.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使用包)