I want to disable a LinkButton clink on the client site.
objLinkButton.disabled = true;
// or
objLinkButton.disabled = -1;
Th
The simplest way to disable a link (and render it like normal text) without using jQuery is to remove it's href attribute entirely.
For example here is the rendered link:
Click me
And the required JavaScript:
function disableLink(id) {
document.all[id].removeAttribute('href');
}
This works for me in both IE and Firefox, but you may wish to do some more extensive testing.