javascript reset disabled
@July 3, 2008, 4:52 a.m.
disabled | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1 |
|
Read/Write |
Specifies whether the reset element is available for user interaction. When set to true, the element cannot receive focus or be modified by the user, and it typically appears grayed out on the page. This property is available for all HTML element objects in IE 5.5 for Windows and later. For IE 4 and IE 5, it applies only to form controls, while Netscape 6 and later recognize the property for form controls and the style element object. A disabled form control's name/value pair is not submitted with its form. |
|
Example | |
document.getElementById("myreset").disabled = true; |
|
Value | |
Boolean value: true | false. |
|
Default | |
false |
Permanent URL:
http://javascript.gakaa.com/reset-disabled.aspx
Powered by Linode.