Using the Event Object with Navigator and Internet Explorer : Hyper Link Event « Event « JavaScript DHTML






Using the Event Object with Navigator and Internet Explorer

<HTML>
<HEAD>
<TITLE>Using the event Object</TITLE>
<SCRIPT><!--
function clickHandler(eventObject) {
  alert(eventObject.screenX+","+ eventObject.screenY)
}
//--></SCRIPT>
</HEAD>
<BODY>
<H1>Using the event Object</H1>
<A HREF="javascript:void(0)" onClick="clickHandler(event)">Click this link.</A>
</BODY>
</HTML>
           
       








Related examples in the same category

1.Using onMouseOver and onMouseOut Event Handlers
2.Handling onClick or Links
3.Handling onMouseOut or Links
4.Using Functions as Event Handlers
5.Using the const Keyword
6.Using onClick and onDblClick Event Handlers