This course is out of date and does not reflect our standards or industry best practices. We now recommend you take the Complete Intro to Web Development, v2 course.

Check out a free preview of the full Learning jQuery course:
The "Event Object" Lesson is part of the full, Learning jQuery course featured in this preview video. Here's what you'd learn in this lesson:

All events when fired return the event object as the first parameter of your callback. The event object has many helpful properties (event.target, event.pageX/Y, event.preventDefault(), event.stopPropagation(), event.which, etc) event.stopPropagation() vs event.preventDefault() return false calls both but can be problematic (js errors don’t get to return false)

Get Unlimited Access Now