HTML    CSS    PHP    Bootstrap    JavaScript    Dev Tools      

An Introduction to Events in JavaScript

Current Time  00:00 Total Time  00:00

We are always looking for input on our tutorial content. If you have a suggestion, comment, additional information on this topic that you feel should be added, drop us a line. We appreciate your input.

Title: An Introduction to Events in JavaScript Category: JavaScript

Topic: Essential Training Publish Date: 2016-04-18

Views: 204

Author: Mike King


In this tutorial we are introduced to Events in JavaScript. We start with a presentation that discusses events and how we can have them triggered in JavaScript. The first demonstration is focused on the HTML Event Handler, this is no longer a recommended approach but many developers are still using this approach. Next we demonstrate the DOM Event Handler method which is a much more efficient approach to the Event Handlers in JavaScript. We close out the tutorial demonstrating the Event Listener method. This is the best approach but is only supported on the most recent browsers.