javascript onclick event



Javascript onclick event example 


<!doctype html>
<html>
<head>
  <title> js click event </title>
</head>
<body>
    <p id="demo">  JavaScript Click Event! </p>
    <button type="button" onclick="document.getElementById('demo').innerHTML='Click Event js'"> 
Click Me </button>

</body>
</html>

Post A Comment
  • Blogger Comment using Blogger
  • Facebook Comment using Facebook
  • Disqus Comment using Disqus

No comments :

Thanks For visiting Infotech Solutuion Blog