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