Javascript Reference
Categories: BUTTON

javascript BUTTON disabled

@Aug. 21, 2008, 12:34 p.m.
disabled Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM 1
  Read/Write
 

Whether the element is available for user interaction. When set to true, the element cannot receive focus or be modified by the user. It is also not submitted with the form.

 
Example
document.forms[0].myButton.disabled = true
 
Value
Boolean value: true | false.
 
Default
false

Powered by Linode.