Learn free online HTML5, javascript, and jquery Tutorials by Examples

Wednesday 13 December 2017

How to use Jquery to add click function ?

$(document).on("click", ".image-class", function() {
     alert("I've been clicked");
});

No comments:

Post a Comment