Answers for "js add event listener to input"

3

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 "js add event listener to input"

Code answers related to "Javascript"

Browse Popular Code Answers by Language