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

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Javascript Methods » deleteRow 
'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
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.