jquery multiple div click

JavaScript
$(document).on("click touchend", ".class1, .class2, .class3", function () {
     //do stuff
});
Source

Also in JavaScript: