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.
monica73174Asked:
Who is Participating?
 
Gurvinder Pal SinghCommented:
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.
0
 
systanCommented:
when disabled you can't get/set a value
when readonly you can get value but you can't set, on textbox you can
0
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.