same click event in multiple elements in on event code example
Example: same click event in multiple elements in on event
$(document).on("click touchend", ".class1, .class2, .class3", function () {
//do stuff
});
$(document).on("click touchend", ".class1, .class2, .class3", function () {
//do stuff
});