View Full Version : Locking a text box
schnitzel_21st
12-25-2003, 10:02 PM
hi is it possible to lock a text box, the page i want to put this is on is attached. i want if so that the results can't be edited after u press the calculate button.
coothead
12-26-2003, 03:27 AM
Hi there schnitzel_21st,
I cannot think why you would want
to freeze a calculator :confused:
but then... 'Their's not to reason why,
Their's but to do and die' :supereek:
Anyway I am sure that the attached will,
if nothing else, amuse you in the antipodes.
c:supereek::supereek:thead
Willy Duitt
12-27-2003, 12:39 PM
To make the textbox uneditable you can use the READONLY attribute.
eg: <input type="text" name="results" size="5" value="" READONLY>
.....Willy
schnitzel_21st
12-27-2003, 09:09 PM
Superb
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.