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.
$('#ThisLink').one('click',function(){ $(this).bind('click',function(){ return false; }); });
This would be another way to do this, the handler with return false, which will disable the link, will be added after one click.
return false