Javascript Reference
Categories: InputTypeReset

javascript InputTypeReset value

@March 15, 2008, 1:22 a.m.
valueFirefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1  

Read/Write  

This is one of the rare times that the value property controls the label of a form control: the text that appears on the reset button.

 
Example
 
document.forms[0].myReset.value = "Undo";
 
Value

String.

 
Default

Reset


Powered by Linode.