Answers for "click button javascript get"

0

javascript click button by id

var button = document.getElementById("button");
button.click();
Posted by: Guest on May-20-2020
0

get element by click

window.onclick = e => {
    console.log(e.target.innerText);
}
Posted by: Guest on April-08-2021

Code answers related to "click button javascript get"

Code answers related to "Javascript"

Browse Popular Code Answers by Language