logo       

Re: [jQuery] $.ajax API change 1.0.2?: msg#01208

lang.javascript.jquery

Subject: Re: [jQuery] $.ajax API change 1.0.2?


> ooooou! the complete handler... perhaps it just needs a little more
> documentation? Or did I miss it?

It's documented on $.ajax...

(Function) error - A function to be called if the request fails. The
function gets passed two arguments: The XMLHttpRequest object and a
string describing the type of error that occurred.

(Function) success - A function to be called if the request succeeds.
The function gets passed one argument: The data returned from the
server, formatted according to the 'dataType' parameter.

(Function) complete - A function to be called when the request
finishes. The function gets passed two arguments: The XMLHttpRequest
object and a string describing the type the success of the request.


Steven Wittens


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise