javascript TABLE deleteRow( )
| deleteRow( ) | NN 6 IE 4 DOM 1 |
deleteRow(index) | |
|
Removes a tr element nested within the current table element. The integer parameter points to the zero-based item in the rows collection. To repopulate a table with new or sorted content, empty the table (or just a table section) with iterative calls to the deleteRow( ) method: while (tableReference.rows.length> 0) {
tableReference.deleteRow(0);
}
|
|
| Parameters | |
|
|
| Returned Value | |
None. |
|
Previous: javascript TABLE insertRow( )
2010,Nickname,Homepage or email,Comments here,Add comment
