html anchor tag disabled code example
Example 1: disable a tag
.disable{
pointer-events:none;
}
with jquery add this class to you element to disable is and remove class to enable it
Example 2: html disable anchor link
a.isDisabled {
pointer-events: none;
}