Mega Code Archive

 
Categories / JavaScript Reference / Javascript Properties
 

Event Syntax and Note

Note: Read and write property.  Specifies the name of the event that will trigger the script.      Syntax:      document.getElementById("scriptID").event = value document.all.scriptID.event = value // IE only