View Full Version : Ajax
06-08-2005, 09:57 AM
I saw two modifications for phpBB that use AJAX to update stuff without reloading the page.
What I wanted to know is what is AJAX, how do I use it, and are there any tutorials on it that would be easy to understand?
06-08-2005, 11:19 AM
AJAX is a terrible acronym coined for a very old technology, that's only seeing recent buzz because Google started using it on things like gmail or google suggest.
You take XMLHttpRequest(), and send if off asynchronously. You can attach form data, whatever, and receive a response back in the form of XML, which you then use DOM methods to insert back into your page.
This particular mechanism is new, but the method is old. Back in the NS4 days, you could load a new Layer() and stuff information into links (and get is via document.links[x].text). Alternatively, you send it off to a frame, and get info back by inspecting the documenet.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.