I have several forms on the page, and I need to get the values ββof the form that were submitted, but without specifying the form.
$(document).ready( function (){
$('form').submit( function(){
return submitForm()
});
});
and in the .js file submitForm () should identify the identifier of the form that is submitted. How can I do that?
I get the values ββof the form [0], not the ones clicked
source
share