...

View Full Version : need a code to disallow changing values



hno2005
06-09-2010, 08:01 AM
HI every one

i want to disallow users to change a text input values . I don't want to use disabled tag of text input because of some problem . I just want to disallow users to enter or change a text input value .

How can I do so ?

thanks

abduraooft
06-09-2010, 08:44 AM
How can I do so ? Why do you need to use an "input" element, if you don't want to get something from the users?

hno2005
06-09-2010, 10:03 AM
Why do you need to use an "input" element, if you don't want to get something from the users?

I have 3 text inputs and the last one's work is to add those two inputs and show the result in it self .

any wat , how can I do so?

thanks

abduraooft
06-09-2010, 10:06 AM
Hmm.. you may use the readonly attribute, see the usage at http://www.htmldog.com/reference/htmltags/input/

hno2005
06-09-2010, 01:04 PM
any thing else?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum