Event onclick | Dhtml onclick event | how to write the script for the click event

When the user click on the specific item the onclick event fires.Include there script code into there head section
<html>
<head><title>PRATICE</title>
<script type="text/javascript">
<!--
function fnfn()

{
alert("This is On key press Event");
}

//-->
</script>
</head>

<body>

<input type="button" value="click" onclick="fnfn()">
</body>
</html>


Event onclick  Dhtml onclick event  how to write the script for the click event

Post a Comment

0 Comments