Setting the Textbox read only property to true using JavaScript
javascript, readonly, textbox
Solution
You can try
document.getElementById("textboxid").readOnly = true;
Problem
How do you set the Textbox read only property to true or false using JavaScript in ASP.NET?