how to make textbox readonly false in javascript





I have this problem, I cant mark a textbox readonly through JavaScript, I only can mark it as disabled.Code: document.getElementById(textbox).readOnlyfalse Symantec helps consumers and organizations secure and manage their information-driven world. Our software and services protect against more risks at more points, more completely and efficiently, enabling confidence wherever information is used or stored. The Symantec Connect community I tried the following code, I am not getting an error, but it is not making my text box readonly-using-JS.html copy.JavaScript. I have one TextBox. I want to make textbox readonly property true or false during an event.How can I change the background of a masterpage from the code behind of a content page? Call ASP.NET Function From Javascript? How can I modify customers incident/request forms with an IF/ELSE statement that will either display a Readonly textbox, or an editable one based on the.this customizaiton could be done using JavaScript, hardest part is to make script know that the field has changed.

Discussion in Javascript started by Randell D Feb 20, 2005.How can I therefore make an input typetext namebox2 a readonly while type text namebox1 has a length of zero? This is for an intranet based application and I understand all the arguements and points that one has to consider in If you need to create a text-box and make it function on a readonly basis within your page, youHow to make a read-only textbox using jQuery2012-12-10How to Make a Simple Blackjack Game Using Javascript2014-10-26 So to avoid this instead of disabling we may make the textbox readonly.