Home arrow JavaScript arrow Handling events with the DOM, part II
JAVASCRIPT

Handling events with the DOM, part II


In this second article in a three part series, we will delve more deeply into how Netscape, Mozilla, and Internet Explorer manipulate event handlers, and take a look at building a simple drop-down menu.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 9
April 26, 2005
TABLE OF CONTENTS:
  1. · Handling events with the DOM, part II
  2. · Assigning event handlers in NS6 and Mozilla
  3. · Assigning event handlers in IE5
  4. · Using the "attachEvent()" method: a simple drop-down menu in IE

print this article
SEARCH DEVARTICLES

Handling events with the DOM, part II
(Page 1 of 4 )

Introduction

 

Welcome back to Handling Events with the DOM. To refresh your memory a bit, in Part I, we introduced important concepts about the assignment of event handlers in Web pages, as well as a detailed look at the DOM event flow, covering in-depth definitions of Event Capture and Event Bubble. As we go deeper into this territory, numerous browser incompatibilities are still messing up a Web developer's life, adding more inconsistencies to the already long non-standard world of the Web.

 

However, all is not lost. Efforts have been underway, particularly at the W3C, to establish common standards for all browsers. Hopefully, we’ll see browser manufacturers pointing their best efforts toward releasing better, more standards-compliant products. But, as with anything in life, time will tell. In the meantime, we must settle for using the currently available DOM proprietary methods, implemented in today’s browsers.

 

Over this second part, we’ll be illustrating some of the most common methods offered by popular browsers to manipulate event handlers using the DOM. Let’s start finding out more about how NS6+ and Mozilla manipulate event handlers.

 


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- Project Nashorn to Make Java, JavaScript Wor...
- JavaScript Virus Attacks Tumblr Blogs
- Google Releases Stable Dart Version, JavaScr...
- Khan Academy Unveils New JavaScript Learning...
- Accessing Nitro? There`s an App for That
- JQuery 2.0 Leaving Older IE Versions Behind
- Fastest JavaScript Engine Might Surprise You
- Microsoft Adjusting Chakra for IE 10
- Brendan Eich: We Don`t Need Google Native Cl...
- An Overview of JavaScript Statements
- An Overview of JavaScript Operators
- Overview of JavaScript Variables
- More of the Top jQuery Social Plugins
- The Top jQuery Social Plugins
- More of the Top jQuery Slider Plugins

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials