Here is what disabled
does http://www.w3.org/TR/html401/interact/forms.html#h-17.12.1
17.12.1 Disabled controls
Attribute definitions
disabled [CI] When set to a form control, this boolean attribute disables the control for user input. When set, the disabled attribute has the following effects for the element:
Disabled controls do not receive focus. Disabled controls are skipped when navigating tabs. Shutdown controls cannot be successful. The following attributes support a disabled attribute: BUTTON, INPUT, OPTGROUP, OPTION, SELECT, and TEXTAREA.
This attribute is inherited, but local declarations override the inherited value.
How disabled items are displayed depends on the user agent. For example, some gray scale user agents have disabled menu items, button shortcuts, etc.
It does not cause any events. This is more a functional thing, where it will not allow the user to interact with the element and will not send the value of the field to be sent if it is inside the form.
source share