a href not clickable with js code example
Example 1: make link not clickable
.isDisabled {
...
pointer-events: none;
}
Example 2: how to make an a tag not clickable
<a href="page.html" onclick="return false">page link</a>
.isDisabled {
...
pointer-events: none;
}
<a href="page.html" onclick="return false">page link</a>