disable clickable anchor tags code example
Example 1: disable a tag
.disable{
pointer-events:none;
}
with jquery add this class to you element to disable is and remove class to enable it
Example 2: 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>