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.
Retrieve the second TABLE element and invoke the insertRow() method
with an index of two. Currently the 2nd indexed row is in the TBODY
section of the TABLE. The number of rows in the TBODY section before
insertion of the new row is two. After the new row is inserted the number
of rows in the TBODY section is three.