jQuery ajaxSuccess() 方法
jQuery 教程
· 2019-03-28 16:37:32
实例
当 AJAX 请求成功完成时,触发一个提示框:
$(document).ajaxSuccess(function(){
alert("AJAX 请求完成");
});
定义和用法
ajaxSuccess() 方法规定 AJAX 请求成功完成时运行的函数。
注意:自 jQuery 版本 1.8 起,该方法只被附加到文档。
语法
$(document).ajaxSuccess(function(event,xhr,options))
参数 | 描述 |
---|---|
function(event,xhr,options) |
必需。规定如果请求成功时运行的函数。 额外的参数:
|
点击查看所有 jQuery 教程 文章: https://www.codercto.com/courses/l/35.html
The Linux Programming Interface
Michael Kerrisk / No Starch Press / 2010-11-6 / GBP 79.99
The Linux Programming Interface describes the Linux API (application programming interface)-the system calls, library functions, and other low-level interfaces that are used, directly or indirectly, b......一起来看看 《The Linux Programming Interface》 这本书的介绍吧!
随机密码生成器
多种字符组合密码
RGB HSV 转换
RGB HSV 互转工具