How to process 2 forms in a single html page using jquery and php
I have 2 forms in a single html page. The first form is for logging in and the other is for signing up.
The login form contains a submit button with a
name="loginsubmit" attribute while the signup form contains a submit button with a
How can I detect which submit button was clicked with jQuery so that I can pass it off to PHP?