Answers for "a tag disable"

4

disable a tag

.disable{
	pointer-events:none;
}

with jquery add this class to you element to disable is and remove class to enable it
Posted by: Guest on May-28-2020
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
1

disable an anchor tag

<a href="link.html" class="disabled">Link</a>
Posted by: Guest on June-13-2021

Browse Popular Code Answers by Language