Events in JavaScript (Click Event)

Click Event

 <html>  

<head> Javascript Events </head>  

<body>  

<script language="Javascript" type="text/Javascript">  

    function clickevent()  

    {  

        document.write("This is JavaTpoint");  

    }  

    </script>  

<form>  

<input type="button" onclick="clickevent()" value="Who's this?"/>  

</form>  

</body>  

</html>









Comments

Popular posts from this blog

Important Questions for XII

Sample Question Bank Grade 12

Question Collection-11