Ajax stands for Asynchronous Javascript and XML.
Ajax allows Web Designers to exchange content easily without having to reload the page. Ajax can exchange content with XML, PHP, and even a text file.
I have tried Ajax once or twice before doing this experiment/tutorial, but didn’t have any success with it. Now that I am more experienced with Javascript and CSS, then I was when I did my first test, I thought it would be fun to try it again. This time, for the most part I succeeded. The only part I didn’t figure out was removing CSS class that I added. This experiment was fun though because I added content from a external HTML page and when I clicked an image, it kept on adding copies/instances of that HTML page. One of the other features that I messed around with was having it fade out. I didn’t get that to work the way I wanted to. I wanted the copy of the HTML page to be faded out and be removed when the user’s mouse was not above the image. The closest that I got to making it work was making everything on the page fade out.
I’m still working on that removing the class, but you can test it out at the link below.
Ajax and JQuery example
Here is a snippet of the code (click the picture for a better view):

On the index.html page, it has a mouseover on the image and when the mouse is over the image, it calls getAjax(). The url is the string of the URL of the request. If it’s a success, it will add the CSS class, ‘caption’ and get add the content from content.html into the caption class.
The only thing I don’t like about Ajax is that it requires Javascript, so if Javascript is turned off, it won’t work.
Useful Resources
http://api.jquery.com/jQuery.ajax/
http://www.w3schools.com/ajax/default.asp