How can I tell which button was clicked in a PHP form submit?
- by Sonny Boy
Hey all,
I have several buttons on my page, but I'm not sure how to tell which one was clicked.
Here's the markup for my two buttons:
<input type="submit" id="btnSubmit" value="Save Changes" />
<input type="submit" id="btnDelete" value="Delete" />
Thanks in advance,
Sonny