Module 6 - Lesson 4
jQuery Events
Lesson Overview
jQuery event methods are used to create further manipulation of the DOM (Document Object Model) by attaching a function to an event handler. In other words – users interact with the browser by clicking or hovering over something and those are called events. jQuery can recognize an event and then do something with it. In this video, I will walk you through a few example events.
Video Chapters
Click event syntax:
$('element').click(function() {
// element is clicked
});
Hover event syntax:
$('element').hover(function() {
// hover in
}, function() {
// hover out
});
Login to your Account
If you're a DSA Student, please log in to your account to access the course content.
Sorry, you don't have access to this content.
It looks like you're not enrolled in Divi Stylist Academy.
