Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

addEventListener

let = buttonRoll = document.getElementById("myButton")
buttonRoll.addEventListener("click", function(){
    console.log("Button Clicked")
})
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #addEventListener
ADD COMMENT
Topic
Name
4+2 =