Answers for "how to disabled an onClick"

0

disabled a click

// CSS
.not-active {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: black;
}

// HTML
<a href="link.html" class="not-active">Link</a>
Posted by: Guest on October-29-2020
0

disable onclick

pointer-events: none;
cursor: default;
Posted by: Guest on July-23-2020

Code answers related to "how to disabled an onClick"

Browse Popular Code Answers by Language