Hello all,
I have several forms on a page with different ids and I want to find out which is submitting and its id. How can I do this?
//stop all forms from submitting and submit the real (hidden) form#order
$('form:not(#order)').submit(function(event) {
event.preventDefault();
The above stops all forms submitting and I would like put in a conditional saying if this form, then do this etc.
Any help appreciated.
Thanks all