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 deleteRow() method deletes a table row. If the index is -1
the last row of the table is deleted.
Retrieve the second TABLE element and invoke the deleteRow() method
with an index of negative one. Currently there are four rows in the
table. The deleteRow() method is called and now there should be three.