HTML DOM Reset Object
Reset Object
The Reset object represents a reset button in an HTML form.
For each <input type="reset"> tag in an HTML form, a Reset object is created.
You can access a reset button by searching through the elements[] array of the form, or by using document.getElementById().
Reset Object Properties
W3C: W3C Standard.
| Property |
Description |
W3C |
| alt |
Sets or returns an alternate text to display if a browser does not support reset buttons |
Yes |
| disabled |
Sets or returns whether or not a reset button should be disabled |
Yes |
| form |
Returns a reference to the form that contains the reset button |
Yes |
| name |
Sets or returns the name of a reset button |
Yes |
| type |
Returns the type of form element a reset button is |
Yes |
| value |
Sets or returns the text that is displayed on a reset button |
Yes |
Standard Properties, Methods, and Events
The Reset object also supports the standard properties, methods, and events.
Click here to design a Stunning Flash Website for Free
Wix is a revolutionary web design tool that provides anyone with the possibility to create professional and beautiful websites for free.
With e-commerce features, search engine visibility and many more professional tools, Wix is the ultimate solution for creating a spectacular site while saving tons of money.
 |
W3Schools' Online Certification Program
The perfect solution for professionals who need to balance work, family, and career building.
More than 4500 certificates already issued!
|
The HTML Certificate documents your knowledge of HTML, XHTML, and CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
|