Text field read only?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
mzfp2
Forum Contributor
Posts: 137
Joined: Mon Nov 11, 2002 9:44 am
Location: UK
Contact:

Text field read only?

Post by mzfp2 »

Hi

Is there a way to make Text input fields readonly, without setting the maxchar property to 0? coz there will already be a default value in my textarea which in some circumstances shouldn't be able to changed by the user

Thanks
User avatar
Wayne
Forum Contributor
Posts: 339
Joined: Wed Jun 05, 2002 10:59 am

Post by Wayne »

Code: Select all

<input type="text" value="whatever" readonly>
[]InTeR[]
Forum Regular
Posts: 416
Joined: Thu Apr 24, 2003 6:51 am
Location: The Netherlands

Post by []InTeR[] »

That was a realy complicated sollution.

Can you explain it? :D :D :D
Post Reply