Event Programming in JavaScript Part – 2
Free Web development courses with real-time projects Start Now!!
Program 1
<html> <head><title>Event Code</title> <script language="JavaScript"> function display() { alert("Welcome in data flair free course") } function displayImage() { document.writeln("<img src=dog.jpg>") } </script> </head> <body onload="display()"> <input type="button" value=" Press key to Load Image" onkeyup="displayImage()"> </body> </html>
We work very hard to provide you quality material
Could you take 15 seconds and share your happy experience on Google