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

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

window.captureEvents()

JavaScript1.2+, JScript3.0+ Nav4+, IE4+ Syntax

							window.captureEvents(event)
window.captureEvents(event1 | event2 | eventN)

Description

The captureEvents() method of the Window object captures all the events of the event type passed. Because you can capture the events that are natively handled by the language itself, programmers can now define a function to handle events in a manner they want. If you have multiple events that you want to capture, separate them with the pipe, |, character. The types of events that can be captured are as follows:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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