'deleteRow()' Syntax, Parameters and Note : deleteRow « Javascript Methods « JavaScript Reference

'deleteRow()' Syntax, Parameters and Note

Note:

Deletes a row from the rows collection, or 
from a <table>, <tbody>, <tfoot>, or <thead> element.
    
Syntax:
    
document.all.tableID.rows[index].deleteRow(param1)
document.getElementById("elementID").deleteRow(param1)
document.all.elementID.deleteRow(param1) // IE only


Parameters:
    param1   Optional; the row index in the rows collection. 
                       If omitted, the last row will be removed.

    

      
      








Related examples in the same category

1.'deleteRow()' Example
2.'deleteRow()' is applied to