12 responses to “De-Mystifying AJAX”

  1. Well nice tutorial for beginners. I just hope you will rewrite your PHP code to something more secure and move the db connection to a separate file.

  2. \“This is our function that must go right after the form itself\”

    Maybe I\‘m wrong, but why right after the function? I know this is for beginners, but if I were a beginner (or more of one, I suppose), I might take this to mean all the time (especially with the italics for emphasis). It\‘s much easier to create a js file to include with the function in that, and I think would make things simpler in the long run for n00bs. Maybe in part two you could start by explaining this. Maybe that was the plan all along

    Nice short tutorial.

  3. Hi Chris

    Agreed — it´s a nice tutorial. But I suggest you warn users, that the php script is not safe per se, in case someone is tempted to use your example code.

    Thanks!

    Raz

  4. In mootools there is a send function for forms. The send function send the form with Ajax.

    $(‘myForm’).send({update: ‘container’});

  5. Hi all,

    Thanks for the tutorial, but the code in function sendForm() actually has errors.. ;) just change “new ajax” to “new Ajax”

  6. My pleasure ;)

  7. Thanks for your tutorial.
    It really showed how easy AJAX is with mootools. :-)

  8. Thankyou for this tutorial. being an expirienced PHP / MySQL coder I could see where you were coming from in the whole script. Thanks again!

  9. […] Here is a short guide that will teach you the ins and outs of Ajax. View Tutorial […]

  10. […] Here is a short guide that will teach you the ins and outs of Ajax. View Tutorial […]

Leave a Reply