AJAX - Server
There is no such thing as an AJAX server.
XMLHttpRequest Object can Request any Data
With the XMLHttpRequest object, you can request any web resource from a
server.
You can request TXT files, HTML files, XML files, pictures or any data that
is accessible from the Internet.
AJAX is about creating clever applications that can use the data.
Requesting Text Files
Many AJAX applications requests pure text files to retrieve data for the
application.
Requesting XML Files
A very common AJAX method is to request XML files to retrieve application
data.
Requesting ASP or PHP Files
Requesting an ASP or PHP file is the most common way to access database
information.
Requesting HTML Files
Requesting HTML files is a common method for filling out different
information on a web page
Submitting Forms
With AJAX you can easily submit form data without having to reload the page.
In the following examples we will do a little bit of each.
|