Javascript Reference
Events > event
javascript event preventDefault( )
Instructs the current event to bypass the normal operation it performs on the node. Once set, the mode cannot be undone for the current event. The f
javascript event stopPropagation( )
Prevents the current event from propagating through the capture or bubbling hierarchy beyond the node currently processing the event. This method pe
javascript event initUIEvent( )
Initializes a newly created event object with a complete set of property values associated with any UI event. All parameters must be present, and mu
javascript event initMutationEvent( )
Initializes a newly created event object with a complete set of property values associated with any mutation event. All parameters must be present,
javascript event initMouseEvent( )
Initializes a newly created event object with a complete set of property values associated with any mouse event.
javascript event initKeyEvent( )
Initializes a newly created event object with a complete set of property values associated with any keyboard event. This method's name and parameter
javascript event initEvent( )
Indicates the minimum initialization required on an event object that is generated by document.createEvent( ).
javascript event getPreventDefault( )
Returns Boolean true if the preventDefault( ) method has been invoked for the current event object. Essentially lets a script inquire about the
javascript event x, y
Return the horizontal and vertical pixel coordinates of the mouse pointer at the time the event occurred. For all but relative-positioned elements,
javascript event which
Returns a value relevant to the type of event. For mouse events, the property value is an integer indicating which mouse button was used ( 1 is the
javascript event wheelDelta
Returns an integer indicating which direction the user rolled the mouse wheel (for a mouse equipped with a wheel) during an onmousewheel event. A
javascript event view
Returns a reference to the W3C DOM view (i.e., the window or frame object in Netscape's implementation) in which the event occurred.
javascript event type
Indicates the type of the current event (without the "on" prefix). Values are all lowercase.
javascript event toElement
Returns a reference to the element object to which the cursor has moved that triggered the onmouseout event.
javascript event timeStamp
Provides an integer signifying a milliseconds value you can use as a relative indicator of when an event occurred. Although the W3C DOM suggests the
1-15 / 65 >

Powered by Linode.