Linkbutton enable/disable is not working in IE11 and firefox
I am enabling/disabling linkbuttons through javascript using below codevar lkbtn=document.getElementById('MyLinkButton');
lkbtn.enabled=false //for disabling
lkbtn.enabled=true // for enabling
this code is working until IE8 and not working for IE11 and Firefox.
I tried several methods like
lkbtn.setAttribute("disabled","disabled")
lkntn.removeAttribute("href");
nothing is working.
I want to enable/disable through javascript/jquery only. How can achieve this new browsers?
I want both disabling and enabling.