Javascript Reference
Categories: InputTypeReset

javascript InputTypeReset Description

@March 15, 2008, 1:22 a.m.
input (type="reset")Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1  

  

The reset object is a form control generated with an input element whose type attribute is set to reset. This element is similar to the button object. No script action is necessary for the reset object to do its job of restoring form controls to their default settings.

 
HTML Equivalent
 
<input type="reset">
 
Object Model Reference
 
[window.]document.formName.elementName
[window.]document.forms[i].elements[i]
[window.]document.getElementById("elementID")
 
Object-Specific Properties
 
formnametypevalue
 
Object-Specific Methods
 
createTextRange( )handleEvent[ ]
 
Object-Specific Event Handler Properties
 
HandlerFirefox/Netscape/NNIEChrome/Safari/DOM
onblur642
onclick342
onfocus642
onmousedown442
onmousemove642
onmouseout642
onmouseover642
onmouseup442

Powered by Linode.