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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.