Re: readonly text entry
[ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]
Posted by Jon Hanlon on August 21, 2000 at 18:33:32:
In Reply to: Re: readonly text entry posted by Chris Davies on August 21, 2000 at 9:24:55:
Strange... Anyway, just include a hidden field: <form name="myForm" onSubmit="myForm.secret.value=myForm.tabArea.value"> <input type="hidden" name="secret" value=""> <input type="checkbox" name="readOnlyBox" value="RO" onChange="document.all.tabArea.disabled = this.checked" >Read Only Thing <br> <textarea id=tabArea name=tabArea rows=4 cols=40 onFocus="return document.myForm.readOnlyBox.checked"> </textarea> </form>
Follow Ups:
|