Thoughts about the best way to submit a form via jQuery?
I'm loading a div via ajax that has a form on it. When someone hits 'submit' on the form, I'm assuming I create an 'onClick' function that disables the submit buttton, gathers the form variables, and submits them via ajax.
Is this the right function to be looking at?
http://api.jquery.com/jQuery.post/
I'm loading a div via ajax that has a form on it. When someone hits 'submit' on the form, I'm assuming I create an 'onClick' function that disables the submit buttton, gathers the form variables, and submits them via ajax.
Is this the right function to be looking at?
http://api.jquery.com/jQuery.post/
