Mega Code Archive

 
Categories / JavaScript DHTML / Event
 

Event type

<html> <head> <script language="JavaScript">     function function1(){         var m = window.event.type;          alert(m)     } </script></head> <body> <input type="button" value='type = "button"' onClick="function1();"> </body> </html>