[jQuery] Identify which button submitted the form
Hello,
I have a form with two <button type="submit"> inside. Each one with
his own name attribute. One of the buttons might show an alert to
confirm submission. So, my question is, how can I identify which
button submitted the form inside the function of the .submit(fn)
event?
Thanks,
rics