The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Javascript Form Re: Javascript Form


Chriss i think you want to prevent the default behaviour of that submit button.
If so you can use return false; at the end of your .click function.
So you will have something like:

$("#formSubmit").click(function() {
// ajax stuff here
return false;