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.
This is the method I used to disable.Hope it helps.
$("#ThisLink").attr("href","javascript:;");