Click Event use with Alert Function In Java Script

Click Event use with Alert Function



<html>
<head>
<script type="text/javascript">
function msg(){
 alert("Hello Javatpoint");
}
</script>
</head>
<body>
<p>Welcome to JavaScript</p>
<form>
<input type="button" value="click" onclick="msg()"/>
</form>
</body>
</html>  

Comments

Popular posts from this blog

java script book in PDF format

use window dot location in java script