Sep 27, 2007 #1 crabgrass Technical User Aug 29, 2007 111 US Is it possible to change the readonly attribute of a text input using a javascript function?
Sep 27, 2007 #2 trollacious Programmer Sep 29, 2004 4,046 US What have you tried so far? Lee Upvote 0 Downvote
Sep 27, 2007 #3 j4606 MIS Nov 28, 2005 349 US yes, You can change the disabled property and readonly property of input elements. Upvote 0 Downvote
Sep 27, 2007 1 #4 kaht Programmer Aug 18, 2003 4,156 US The only special "trick" to changing the readonly status is that it is case sensitive: Code: read[!]O[/!]nly -kaht Lisa, if you don't like your job you don't strike. You just go in every day and do it really half-assed. That's the American way. - Homer Simpson Upvote 0 Downvote
The only special "trick" to changing the readonly status is that it is case sensitive: Code: read[!]O[/!]nly -kaht Lisa, if you don't like your job you don't strike. You just go in every day and do it really half-assed. That's the American way. - Homer Simpson
Sep 27, 2007 Thread starter #5 crabgrass Technical User Aug 29, 2007 111 US OK Folks, sorry I was not specific enough. I should have asked, How do you change the readonly attribute of a text input using javascript? Thanks kaht. I got it to work with document.forms["tippage"].PlanOut.readOnly = false Upvote 0 Downvote
OK Folks, sorry I was not specific enough. I should have asked, How do you change the readonly attribute of a text input using javascript? Thanks kaht. I got it to work with document.forms["tippage"].PlanOut.readOnly = false
Sep 27, 2007 #6 kaht Programmer Aug 18, 2003 4,156 US good job It's nice to give a small hint and let the OP take it from there. It lets me know they learned something -kaht Lisa, if you don't like your job you don't strike. You just go in every day and do it really half-assed. That's the American way. - Homer Simpson Upvote 0 Downvote
good job It's nice to give a small hint and let the OP take it from there. It lets me know they learned something -kaht Lisa, if you don't like your job you don't strike. You just go in every day and do it really half-assed. That's the American way. - Homer Simpson