1600 PMP mock questions 1400 CAPM mock questions 800 SCJP 6 mock questions 600 OCAJP 7 mock questions 590 OCPJP 7 mock questions 556 SCWCD 5 mock questions 500 OCEJWCD 6 mock questions pdfDownload (java,struts, hibernet etc)

Java Script Tutorials

event object example javascript

<html>
<head><title>Event</title>
<script language="javascript">
function handler1()
{
window.defaultStatus=event.screenX+","+event.screenY
alert("Handler1");
}
function handler2()
{
alert("Key code : " +event.keyCode + "\n" + "Event type:" +event.type)
}
function handler3()
{
alert("Double clicked at X : " +event.screenX + ",Y :" +event.screenY)
}
</script>
</head>
<!--Body onMouseMove='handler1()' onmouseover='handler2()'-->
<Body>
<h1 align="center"> The event object</h1><hr>
<!--a href="something.html" onClick="return false" -->
<a href="file1.html" onDblclick='handler3()'>Double click here</a>
</body>
</html>

Reviews and Comments


PMP, CAPM, PMI is a registered certification mark of the Project Management Institute, Inc

Copyright © www.techfaq360.com 2016


About US | Contact US | Privacy Policy | Terms and Conditions  | Website disclaimer  | Cancellation and Refund Policy  | Shipping & Delivery Policy