Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js addeventlistener click

document.getElementById("ELEMENT_ID").addEventListener("click", function() {
  //insert here the code to be executed
});
 
PREVIOUS NEXT
Tagged: #js #addeventlistener #click
ADD COMMENT
Topic
Name
7+4 =