May 9, 2007 #1 DBneophyte Technical User Joined May 30, 2005 Messages 7 Location US I have a text field that is currently set to readonly. How can i reset that property by clicking on a button? Thanks Sean
I have a text field that is currently set to readonly. How can i reset that property by clicking on a button? Thanks Sean
May 9, 2007 #2 feherke Programmer Joined Aug 5, 2002 Messages 9,541 Location RO Hi If the button is in the same [tt]form[/tt] : Code: <input type="button" value="Make writable" onclick="this.form.[green][i]inputname[/i][/green].readOnly=false"> Feherke. http://rootshell.be/~feherke/ Upvote 0 Downvote
Hi If the button is in the same [tt]form[/tt] : Code: <input type="button" value="Make writable" onclick="this.form.[green][i]inputname[/i][/green].readOnly=false"> Feherke. http://rootshell.be/~feherke/