javascript Element attachEvent( )
| attachEvent( ) | NN n/a IE 5(Win) 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. |
|
657,Nickname,Homepage or email,Comments here,Add comment
