I\'m trying to disable a specific link and apply cursor style but this CSS command cursor: text; won\'t effect. The cursor is always default. I\'m using latest
Remove pointer-events: none !important;. Disable the link using JavaScript:
anchorElement.onclick = function(){
return false;
}
If you don't know JavaScript anchorElement is the Node or Element itself. The most common way to get an Element is by using the HTML id attribute. Let's say we have:
Text Here
You code could be:
document.getElementById('whatever').onclick = function(){
return false;
}
There are a number other ways to get Nodes.