Hi,
I have multiple forms on the page and i need to get the values of the form that is submitted, but without specifying the form.
$(document).ready( function (){
$('form').submit( function(){
return submitForm()
});
});
and in the .js file submitForm() should identify the id of the form that is submitted. How can be that done?
I get the values of the form[0], not the one that is clicked