Answers for "javacsript click"

0

click a button using javascript

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

js click on button

window.onload = function() {
    var userImage = document.getElementById('imageOtherUser');
    var hangoutButton = document.getElementById("hangoutButtonId");
    userImage.onclick = function() {
       hangoutButton.click(); // this will trigger the click event
    };
};
Posted by: Guest on October-15-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language