For all of your programming needs and wants.


    AJAX - used it?

    Share
    avatar
    SoulRed12
    Moderator
    Moderator

    Posts : 129
    Join date : 2009-05-08
    Age : 27
    Location : West-coast USA

    AJAX - used it?

    Post by SoulRed12 on 11/1/2009, 6:13 pm

    Who's tried it? I find it to be incredibly useful. Basically, with Ajax, you can reload a part of the page (as opposed to being forced to reload the entire page) after performing some other operation, perhaps with a database.

    For example, imagine you have a web page which contains a form in which you can input a number. The form is then meant to compare the number you input to a number contained in some database, and then display either "It matches" or "it doesn't match" on the webpage. Now imagine that there is something else going on in the page, a video perhaps, which the user would not want to have reload when submitting the form. With ajax, you can send the value to a php file which can then get the value from the database, compare the two, and return the appropriate string of text that javascript could then dynamically update on the page without any sort of reload.

    Check out a tutorial on ajax here.

      Current date/time is 9/22/2018, 11:17 pm