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.
$('a').removeAttr('href')
or
$('a').click(function(){ return false})
It depends on situation