TOC PREV NEXT INDEX

domref



reset()


reset() resets the form to its initial state.

Syntax

form.reset()
 

Parameters

None.

Example

document.forms["myform"].reset();
 

Notes

This method is the same as the form reset button.

Specification

reset

HTMLTableElement Interface


table objects expose the HTMLTableElement interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of tables in HTML.

Properties

caption returns the table caption.
tHead returns the table head.
tFoot returns the table footer.
rows returns the rows in the table.
tBodies returns the table bodies.
align gets/sets the alignment of the table.
bgColor gets/sets the background color of the table.
border gets/sets the table border.
cellPadding gets/setst the cell padding.
cellSpacing gets/set the spacing around the table.
frame specifies which sides of the table have borders.
rules specifies which interior borders are visible.
summary gets/sets the table summary.
width gets/sets the width of the table.

Methods

createTHead() creates a table header.
deleteTHead() removes the table header.
createTFoot() creates a table footer.
deleteTFoot() removes a table footer.
createCaption() creates a new caption for the table.
deleteCaption() removes the table caption.
insertRow() inserts a new row.
deleteRow() removes a row.


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX