Disabled vs Readonly property for text boxes

Is there any disadvantage using the disabled over the readonly for a text box?  I was told it was a better practice to use readonly.  I cannot seem to find any reference to this being a best practice.
Who is Participating?
Gurvinder Pal SinghConnect With a Mentor Commented:
if you make a text box disabled, then you wont be able to get its value, and it won't get submitted to the server.
systanConnect With a Mentor Commented:
when disabled you can't get/set a value
when readonly you can get value but you can't set, on textbox you can
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.