Table Caption
Position |
Salary |
Gender |
Address |
next page ... |
next page ... |
next page ... |
next page ... |
next page ... |
next page ... |
EMP0001 |
Margaret Martin |
Accountant |
56,000 |
Female |
1230 North Ave. Dallas, Texas 98551 |
EMP0002 |
Martha Raynolds |
Secretary |
35,000 |
Female |
1900 Dallas Road Dallas, Texas 98554 |
The insertRow() method inserts a new empty table row. The new
row is inserted immediately before the current indexth row in this
section. If index is -1 or equal to the number of rows in this section,
the new row is appended.
Retrieve the first THEAD element and invoke the insertRow() method
with an index of negative one. Since the index is negative one the
new row is appended.
After the new row is appended the number of rows in the THEAD
section is two.