Ajax

English [ˈeɪˌdʒæks] American [ˈeˌdʒæks]

n. The full name is "Asynchronous JavaScript and XML" (asynchronous JavaScript and XML); refers to a A web development technology for creating interactive web applications. ;Ajax copper-tin-lead bearing alloy, Yajis explosive

success

UK[səkˈses] 美[səkˈsɛs]

n.Success , achievement; good grades, good results; successful people (or things)

ajax ajaxSuccess() method syntax

Function:ajaxSuccess() method executes the function when the AJAX request is successful. It is an Ajax event.

Syntax:.ajaxSuccess(function(event,xhr,options))

Description:XMLHttpRequest object and settings are passed as parameters to the callback function. Whenever an Ajax request completes successfully, jQuery fires the ajaxSuccess event. At this point, any functions registered by the .ajaxSuccess() method will be executed.

Parameters:

Parameter Description
function (event,xhr,options) Required. Specifies a function to run when the request succeeds. Additional parameters: event - contains the event object xhr - contains the XMLHttpRequest object options - contains the options used in the AJAX request.


ajax ajaxSuccess() method example

    

通过 AJAX 改变文本

Run instance »

Click the "Run instance" button to view the online instance