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 insertCell() method inserts an empty TD cell into this row.
If index is -1 or equal to the number of cells, the new cell is
appended.
Retrieve the fourth TR element and examine the value of
the cells length attribute which should be set to six.
Check the value of the last TD element. Invoke the
insertCell() with an index of negative one
which will append the empty cell to the end of the list.
Check the value of the newly created cell and make sure it is null
and also the numbers of cells should now be seven.