The question pretty much says it all. I’m trying to create a submission form where users can add information to their profile, updating the MySQL database, without page refresh. For example, I want users to be able to add ‘hobbies’, which is what I’m working on right now.
Well, I’m going through a StackOverflow tutorial, here, and I’m trying to look up each of the functions. Unfortunately, google’s not turning up any kind of complete AJAX reference, leading me to believe there isn’t one out there. I think AJAX is just the name of something that happens, and it’s built into libraries like jQuery? So, how do I figure out what ajaxSubmit() and other ajax-appended functions do?
ajaxSubmit()is an anonymous function that is called when the onSubmit event is triggered. In this case, when the user clicks on the submit button in the example.jQuery function that is actually doing the AJAX request is $.ajax()
I would suggest that you go through a couple of HTML and JavaScript tutorials to get a grasp on basic stuff before moving on to more complicated concepts. Libraries like jQuery are useful when you already know the underlying concepts, but they are not a silver bullet.