Javascript - Enable / Disable a control



JavaScript to disable a control

//controlid is Id of the control
document.getElementById("controlid").enabled = false;

JavaScript to enable a control

//controlid is Id of the control
document.getElementById("controlid").enabled = true;

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.