|
|
A Simpler Ajax Path
|
05/19/2005 By Matthew Eernisse
|
The XMLHttpRequest object allows client-side JavaScript to make HTTP requests (both GET and POST) to the server without reloading pages in the browser or resorting to iframe tricks or other ad hockery. Microsoft implemented the XMLHttpRequest object in Internet Explorer on Windows as an ActiveX object beginning with version 5. The Mozilla project added it in Mozilla 1.0 as a native object with a compatible API. Apple added it to Safari in version 1.2.
Note that despite its name, you can use the XMLHttpRequest object with more than just XML. You can use it to request or send any kind of data--keep in mind, though, that JavaScript processes the response from the server. The following example returns the data to the browser in a simple DSV (delimiter-separated values) format.
Read Full Article
|
Rate this Ajax Tutorials
Rating: 6.0 out of 1 vote cast
| |
|
|
|
|
|
|
|
|
|
|
|
|