Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Ajax

  1. #1
    Regular Coder
    Join Date
    Jan 2005
    Posts
    153
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Ajax

    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?

    Thanks,
    -Yaggles

  • #2
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts

  • #3
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •