• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Using Core HTML Methods and Events > The addEventListener Method

The addEventListener Method

You use the addEventListener method to add a W3C event listener to an object, as discussed earlier in this chapter (see “Handling Events in the W3C DOM”). You can see the support for this method in Table 6.6.

Table 6.6. The addEventListener Method
Method NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
addEventListener(event, listenerFunction, capture)          
     x      
  No return value



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint