TOC PREV NEXT INDEX

domref



window.releaseEvents()


Releases the window from trapping events of a specific type.

Syntax

window.releaseEvents(Event.eventType)
 

Parameters

eventType is a string with one of the following values:

Abort
 
Load
 
Blur
 
MouseDown
 
Click
 
MouseMove
 
Change
 
MouseOut
 
DblClick
 
MouseOver
 
DragDrop
 
MouseUp
 
Error
 
Move
 
Focus
 
Reset
 
KeyDown
 
Resize
 
KeyPress
 
Select
 
KeyUp
 
Submit
 

Unload
 

Example

window.releaseEvents(Event.KEYPRESS)
 

Notes

Note that you can pass a list of events to this method using the following syntax: window.releaseEvents(Event.KEYPRESS | Event.KEYDOWN | Event.KEYUP). Also note that the eventType parameter is case-insensitive, so you can also say, for example, window.releaseEvents(Event.KeyPress).

See also window.captureEvents().

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX