Answers for "onclick change javascript"

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
1

javascript change button onclick

function Bar() {
  document.getElementById("a").onclick = Foo();
}
Posted by: Guest on September-13-2020

Code answers related to "onclick change javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language