Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

document queryselector click event

const buttons = document.querySelectorAll("#select .button")
for (const button of buttons) {
  button.addEventListener('click', function(event) {
    //...
  })
}
 
PREVIOUS NEXT
Tagged: #document #queryselector #click #event
ADD COMMENT
Topic
Name
7+1 =