Answers for "how to disable href in html"

4

disable a tag

.disable{
	pointer-events:none;
}

with jquery add this class to you element to disable is and remove class to enable it
Posted by: Guest on May-28-2020
2

html disable anchor link

a.isDisabled {
  pointer-events: none;
}
Posted by: Guest on April-16-2020

Browse Popular Code Answers by Language