click Events
Attach handlers with click and other shortcuts.
Example
$("#btn").click(function () {
alert("clicked");
});
$("#a").dblclick(function () {});
$("#a").hover(function () {}, function () {});Exercise
Click handler.
$("b").(fn)
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.