I have a link button inside a Just add a css property: Doing so you can disable the anchor tag. I would do something like something like this should work. You add a class for links you want to have disabled and then you return false when someone click them. To enable them just remove the class. which I have to disable. This works on IE but not working in Firefox and Chrome.
Structure is - Link inside a <
<style>
a {
pointer-events: none;
}
</style>
$('td').find('a').each(function(){
$(this).addClass('disabled-link');
});
$('.disabled-link').on('click', false);