window.routeEvent()

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

							window.routeEvent(event)

Description

The routeEvent() method of the Window object passes all previously captured events of the event type passed through their normal event process. The events that can be passed are as follows:

  • 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 using the Window.captureEvents() method, you can define a function to replace ...

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.