I have an anchor link that I want to disable once the user clicks on it. Or, remove the anchor tag from around the text, but definitely keep the text.
Create following class in style sheet :
.ThisLink{ pointer-events: none; cursor: default; }
Add this class to you link dynamically as follow.
some text // or using jquery