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

Chapter 7. Client-Side Browser Syntax > document.captureEvents()

document.captureEvents()

JavaScript 1.2+ Nav4+ Syntax

document.captureEvents(eventMask)

Description

The captureEvents() method specifies the type of events that should be passed to the document rather than to the object for which they were intended. The eventMask argument(s) specifies what events to capture. The following list shows all the possible event masks. Multiple events can be captured by using the bitwise OR (|) operator.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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