Saturday, August 31, 2013

Disable Image button

 I used this code:  OnClientClick="DisableLink(this);"
This is the JS function:

function DisableLink(obj) {
    obj.disabled = 1;
    obj.style.visibility = "hidden";
    obj.style.display = "none";