Answers for "javascript add event listener to all input"

2

javascript add event listener to all input

document
    .querySelectorAll("input")
    .forEach((elem) => elem.addEventListener("keyup", calculateSum));
Posted by: Guest on February-14-2021

Code answers related to "javascript add event listener to all input"

Code answers related to "Javascript"

Browse Popular Code Answers by Language