Text Box ????????/

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
szms
Forum Contributor
Posts: 101
Joined: Thu Jun 26, 2003 12:23 pm

Text Box ????????/

Post by szms »

I want to show some text from a text box but user cannot change the text. How to do it?
SBukoski
Forum Contributor
Posts: 128
Joined: Wed May 21, 2003 10:39 pm
Location: Worcester, MA

Post by SBukoski »

If you don't want it editable, why not simply display the text as normal and use a type="hidden" control to store the data so it gets passed? That way you don't need to worry about it.
User avatar
skateis2s
Forum Commoner
Posts: 37
Joined: Fri Aug 08, 2003 7:22 am
Location: colorado

Post by skateis2s »

if you mean like so they cant change it in the text box

<input type=text name=poop readonly>
Post Reply