Anyone know a way to determine which submit button was clicked (assuming there is more than one)?
I need to determine which button caused an html form to submit. I was thinking of putting the code in the onsubmit() event handler of the form itself, but I don't know how to determine which button was actually clicked.
Any help would be appreciated.
- G
I need to determine which button caused an html form to submit. I was thinking of putting the code in the onsubmit() event handler of the form itself, but I don't know how to determine which button was actually clicked.
Any help would be appreciated.
- G