document.releaseEvents()

JavaScript1.2+ Nav4+ Syntax

document.releaseEvents(event)
document.releaseEvents(event1 | event2 | eventN)

Description

The releaseEvents() method of the Document object releases all previously captured events of the event type passed. These events can be captured with the Document.captureEvents() method. The following events can be released:

  • Event.ABORT

  • Event.BLUR

  • Event.CHANGE

  • Event.CLICK

  • Event.DBLCLICK

  • Event.DRAGDROP

  • Event.ERROR

  • Event.FOCUS

  • Event.KEYDOWN

  • Event.KEYPRESS

  • Event.KEYUP

  • Event.LOAD

  • Event.MOUSEDOWN

  • Event.MOUSEMOVE

  • Event.MOUSEOUT

  • Event.MOUSEOVER

  • Event.MOUSEUP

  • Event.MOVE

  • Event.RESET

  • Event.RESIZE

  • Event.SELECT

  • Event.SUBMIT

  • Event.UNLOAD

After one of these events has been captured, you ...

Get Pure JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.