JavaScript multiple events same function code example
Example 1: can you have multiple onclick events
<input type="button" value="test" onclick="Hey(); Ho();" />
Example 2: same click event in multiple elements in on event
$(document).on("click touchend", ".class1, .class2, .class3", function () {
//do stuff
});