Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 14.0 (home page)Version 13.0 (home page, current version)Version 12.0 (home page)Version 11.0 (home page)Version 10.0 (home page)Version 9.0 (home page)Version 8.0Version 7.0 (home page)Version 6.0 (home page)Version 5.0 (home page)Version 4.0 (home page)

Index

On this page

Function: attachDOMEvent

Attach user-defined event handler for any DOM event for an element.

Parameters: Object (HTML element), Event object, function (handler), boolean (useCapture)

Returns: Nothing

Note: The fourth argument, useCapture, is optional and will default to false.