javascript disable anchor click code example Example: html disable anchor link a.isDisabled { pointer-events: none; }