Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript add event listener to all input

 document
    .querySelectorAll("input")
    .forEach((elem) => elem.addEventListener("keyup", calculateSum));
 
PREVIOUS NEXT
Tagged: #javascript #add #event #listener #input
ADD COMMENT
Topic
Name
8+5 =