one button click multiple events code example
Example 1: can you have multiple onclick events
<input type="button" value="test" onclick="Hey(); Ho();" />
Example 2: onclick many functions html
onclick="One(); Two(); Three()"
Example 3: same click event in multiple elements in on event
$(document).on("click touchend", ".class1, .class2, .class3", function () {
//do stuff
});
Example 4: call two methods on button click
<input id="btn" type="button" value="click" onclick="pay(); cls();"/>