For enable ,
document.getElementById('Control_name').disabled = false;
For disable,
document.getElementById('Control_name').disabled = true;
Lets take example of button:
For enable the button,
document.getElementById('Button1').disabled = false;
For disable the button,
document.getElementById('Button1').disabled = true;

Join the conversation! Your thoughts help the community grow.