I have a question question: I have a form with a button which has an onclick attribute like: onclick="return func();"
How can i bind a click event which executes before the event hard coded to the button's html? Are there any approaches to this?
I have a question question: I have a form with a button which has an onclick attribute like: onclick="return func();"
How can i bind a click event which executes before the event hard coded to the button's html? Are there any approaches to this?