Hi all I know that its very easy to submit a form without refreshing if there is only one form on the page but what about if there are more than one form on the page. Im usi
Add form_id while calling processForm(form_id) and using the id serialize the form.
processForm(form_id)
id
function processForm(form) { $.ajax( { type: 'POST', url: form_process.php, data: $(form).serialize(), success: function(data) { $('#message').html(data); } } ); return false; }
jsFiddle