inboxHub
Login
Signup
x
Login
Signup
Home
Categories
Application
Artificial Intelligence
Database
Digital Marketing
Physiotherapy
Quality Assurance
Web Technology
Home
Click-on-html-element-in-javascript
Click on html element in JavaScript
Hi guys how click div after load page successfully i am using
document.getElementById("click").click();
But getting error. So any one can help me.
Ankur Rajput
Asked 21-11-2024
79
Answer (1)
Hi you can use this.
document.querySelector('#click').click();
TV
Tested.
Deepak Sharma
Asked 12-12-2019
45 Likes
Comments
Write comment
Submit
Submit your answer