Answers for "click in html"

0

javascript click button by id

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

onclick a tag

<a href='http://www.google.com' onclick='return check()'>check</a>

<script type='text/javascript'>
function check() {
    return false;
}
</script>
Posted by: Guest on March-05-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language