Sunday, 8 September 2013

Click an html element JS

Click an html element JS

is it possible to make a javascript to "click" a specific element?
on my page I've got a with a specific id, and I want to make a JS script
to click the div on certain event. is there any method like:
document.getElementById("idofdiv").click()?

No comments:

Post a Comment