프로그램&DB/AJAX
jQuery AJAX ajaxSuccess() Method
Josep.H.S
2011. 8. 23. 14:11
jQuery AJAX ajaxSuccess() Method
ExampleTrigger an alert box when an AJAX request completes successfully:
Try it yourself » |
Definition and Usage
The ajaxSuccess() method specifies a function to be run when an AJAX request is successfully completed.
Syntax
$(selector).ajaxSuccess(function(event,xhr,options)) |
Parameter | Description |
---|---|
function(event,xhr,options) | Required. Specifies the function to run if the request
succeeds Additional parameters:
|
![]() |
Try it Yourself - Examples |
Use the options parameter
How to use the options parameter
to restrict the function to AJAX requests for a specific file.
[출처] http://www.w3schools.com