View Full Version : need a code to disallow changing values
06-09-2010, 09: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 ?
06-09-2010, 09: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?
06-09-2010, 11: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?
06-09-2010, 11:06 AM
Hmm.. you may use the readonly attribute, see the usage at http://www.htmldog.com/reference/htmltags/input/
06-09-2010, 02:04 PM
any thing else?
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.