javascript Element attachEvent( )
@March 15, 2008, 1:22 a.m.
attachEvent( ) | Firefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a |
attachEvent("eventName", functionReference) | |
Binds an event handler function to an element object for a particular event type. Similar in operation to the W3C DOM addEventListener( ) method, the IE attachEvent( ) method is used primarily for IE behaviors. Binding events through element object event handler properties is a better cross-browser approach for regular HTML pages. If you bind an event handler through the attachEvent( ) method, you can disengage the binding via the detachEvent( ) method. |
|
Parameters | |
|
|
Returned Value | |
Boolean value true if the binding is successful. |
Permanent URL:
http://javascript.gakaa.com/element-attachevent-4-0-5-.aspx
Amazon Relational Database Service (<a href=https://aws.amazon.com/rds/>RDS</a>)
KathleenReat
- 3 years
Powered by Linode.