Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript onclick

document.getElementById("myBtn").addEventListener("click", function() {
  alert("Hello World!");
});
 
PREVIOUS NEXT
Tagged: #javascript #onclick
ADD COMMENT
Topic
Name
9+2 =