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
It seems that Bootstrap doesn't support disabled links. Instead of trying to add a Bootstrap class, you could add a class by your own and add some styling to it, just like this:
a.disabled {
/* Make the disabled links grayish*/
color: gray;
/* And disable the pointer events */
pointer-events: none;
}
Link to disable
Non-disabled Link