$(document).on("click", ".onClass", function () { //your code var element = $(this); // to get clicked element });