Input.disabled (Property)

Activates and deactivates the input element within the form.


DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:Boolean primitive
JavaScript syntax:-myInputObject.disabled

If this value is set true, then the input element can no longer receive focus or be interacted with. It will also no longer be submitted with the other input elements when the form is submitted back to the server.

Setting this value to false renders the input element active again.

See also:TextCell.readOnly