hai all,
in html i have created a text box and make it readonly such as
<input type="text" id="age" readonly/>
now i want to make it enable(through javascript) to type in text box . what should i do for this?
Search Result
Collapse
2 results in 0.0015 seconds.
Keywords
Members
Tags
-
change textbox readonly
-
Q: how to set the readonly attribute to false (IE and Moz)
Hi,
I have form text fields that have the attribute readonly. I wish to
use a javascript (invoked by a button on my page) to erase the values
and set
the readonly attribute to false. How do I do this?
Here's what I have that is not working with respect to setting
readonly to false:
function nsfields ( bDefaults ) {
if ( bDefaults == "Yes" ) {
// insert the default...