Friday, January 7, 2011

Enabled / Disable Button Control using javascript

Enabled / Disabled Button using Javascript

For enable the button,
document.getElementById('Button1').disabled = false;

For disable the button,
document.getElementById('Button1').disabled = true;

No comments:

Post a Comment