Java Script on click Events
Onclick Event <script> function myclick() { var x = document.getElementById(“msg”).value; document.getElementById(“demo”).innerHTML = x; } </script> Onclick Events Submit <script> function myclick(){ var x = document.getElementById(“name”).value;