CallBack in Ajax

Helper callback Prototype callback readyState Description
:before
Request object has not yet been created.
:after
0 (Uninitialized) Request object’s open( ) method has not yet been called.
:loading
onLoading
1 (Loading) Request object’s send( ) method has not yet been called.
:loaded
onLoaded
2 (Loaded) The request has been initiated.
:interactive
onInteractive
3 (Interactive) The response is being received.
:success
onSuccess
The response is ready and its status is in the 200 range.
:failure
onFailure
The response is ready and its status is not in the 200 range.
:complete
onComplete
4 (Complete) The response is ready.

Regards,

P.Raveendran

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s