Sep 27, 2007 #1 crabgrass Technical User Joined Aug 29, 2007 Messages 111 Location US Is it possible to change the readonly attribute of a text input using a javascript function?
Sep 27, 2007 #2 trollacious Programmer Joined Sep 29, 2004 Messages 4,046 Location US What have you tried so far? Lee Upvote 0 Downvote
Sep 27, 2007 #3 j4606 MIS Joined Nov 28, 2005 Messages 349 Location US yes, You can change the disabled property and readonly property of input elements. Upvote 0 Downvote
Sep 27, 2007 1 #4 kaht Programmer Joined Aug 18, 2003 Messages 4,156 Location 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 Joined Aug 29, 2007 Messages 111 Location 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 Joined Aug 18, 2003 Messages 4,156 Location 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