'deleteRow()' Syntax, Parameters and Note : deleteRow : Javascript Methods : JavaScript Reference examples (example source code) Organized by topic

JavaScript Reference
C++
PHP
JavaScript Reference Home »  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
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.