Javascript Reference
Categories: event

javascript event getPreventDefault( )

@March 15, 2008, 1:22 a.m.
getPreventDefault( )Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM n/a

Returns Boolean true if the preventDefault( ) method has been invoked for the current event object. Essentially lets a script inquire about the prevent-default state. This property is a Netscape 6 extension to the W3C DOM events module.

 
Parameters

None.

 
Returned Value

Boolean value: true | false.


Powered by Linode.