Saturday, December 22, 2007
If the content on the server that you are going to retrieve is static then what is returned is rather obvious - response.xml contains XML and response.txt contains plain text. Where you are ...
Saturday, December 22, 2007
There are a number of standard formats that have been adopted for AJAX to use to pass the response back from the server. The one that gives AJAX its name is XML. Another is JSON (Javascript Objec...
Saturday, December 22, 2007
Once you have got your response back from the server you need to break it up into its component parts (assuming that there is more than one pices to the information) and then use the DOM to updat...
Saturday, December 22, 2007
Because AJAX is normally processed asynchronously we may have situations where we want to stop waiting for the responce to come back from the server because it is no longer relevant. The situatio...
Saturday, December 22, 2007
With our requests being asynchronous we are not waiting for one request to return a response from the server before being able to make another request. There is no reason why our visitor cannot i...
Saturday, December 22, 2007
If we have the one page performing multiple requests (either by aborting any outstanding request or by creating multiple request objects) and those requests are using the GET method and don't...
Saturday, December 22, 2007
Since using Ajax implies that we are accessing information from the server we have exactly the sale security concerns with Ajax as we wpuld have with any normal server side processing. ...