Basically i want a disable text field to show the value stored in a database but i don’t want it to be editable by the user.
i’ve tried using disabled="disabled" but then it no longer POST to my form handler…
Any suggestions?
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
docu:
why do you need the value? then try the
readonly-attribute instead ofdisabledor go for another hiddenfield.edit:
it’s not fully clear to me, if you use asp.net, bu if so, you could just do
you may give it a try 🙂