I have following HTML and would like to disable the link using javascript.
I don't think the 'disable' attribute will work on links, it work mostly on form elements such as inputs, textarea, button, etc.
But as @idealmachine said normal links can be disabled by returning false 'return false' in javascript/jquery.
return false