Answers for "how to target child element of an event object in JS"

0

how to target child element of an event object in JS

function onSubmit(event){
    console.log(event.target.querySelector('input'));

}
Posted by: Guest on June-12-2021

Code answers related to "how to target child element of an event object in JS"

Browse Popular Code Answers by Language