synchronous callback
· sequential/serial
· call the post method using two arguments
· the client waits for the server response before continuing
· your script may hang and block your page in case of server error
· See also how to callback data synchronously.
|
asynchronous callback
· non-sequential/paralel
· call the post method using three arguments
· the client sends the request to server and continues its execution
· you avoid your script hanging and blocking the page in case of server error
· See also how to callback data asynchronously.
|