Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKeith Ostertag
16,619 PointsTeachers recommended source outdated? Using the on() Method in jQuery, event property srcElement
The teachers notes for this video recommends http://www.htmlgoodies.com/beyond/javascript/events-and-javascript-part-3-the-event-object.html which was (evidently) written about 5 years ago... The article starts off describing the srcElement event property which I can't find anywhere in Dev Tools. Has that property been replaced/superseded?
2 Answers
Steven Parker
231,269 PointsThat property has been superseded by the target property.
Here's a quote directly from the MDN Event page:
Event.srcElement
Ā Ā A non-standard alias (from old versions of Microsoft Internet Explorer) for Event.target.
You might want to report this as a bug to Support.
Keith Ostertag
16,619 PointsThank you Steven.