The first example didn\'t work. I need to have always a list to disable links? Or what is wrong with my first demo?
Disabl
I just removed 'href' attribute from that anchor tag which I want to disable
$('#idOfAnchorTag').removeAttr('href'); $('#idOfAnchorTag').attr('class', $('#idOfAnchorTag').attr('class')+ ' disabled');