READONLY
and DISABLED
both remove the functionality of the input field, but to different degrees. READONLY
locks the field: the user cannot change the value. DISABLED
does the same thing but takes it further: the user cannot use the field in any way, not to highlight the text for copying, not to select the checkbox, not to submit the form. In fact, a disabled field is not even sent if the form is submitted.
Read full article from HTML DISABLED, READONLY - HTML Code Tutorial
No comments:
Post a Comment