'event' Syntax and Note : event « Javascript Properties « JavaScript Reference

'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

    

      
      








Related examples in the same category

1.'event' Example
2.'event' is applied to