Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
06-08-2005, 08:57 AM #1
- Join Date
- Jan 2005
- Thanked 0 Times in 0 Posts
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, 10:19 AM #2
- Join Date
- Oct 2004
- United Kingdom
- Thanked 5 Times in 5 Posts
06-08-2005, 06:27 PM #3
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.