| |||||||||||||||||
detachEvent MethodInternet Explorer® 5 and up only. Unbinds the specified function to the event so that the function stops being called whenever the event fires on the object. Syntaxobject.detachEvent ( sEvent, fpNotify )
Parameters
Return ValueNo return value. ExampleThe following example demonstrates how a behavior could stop being notified whenever the onload event fires. <script language="JScript">
window.detachEvent ( "onload", myOnLoad );
function myOnLoad ( ) {
// perform peer initialization here...
window.status = "myOnLoad function got called.";
}
</script>
See Also |
| ||||||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme