Mega Code Archive

 
Categories / JavaScript Reference / Javascript Collections
 

Cells Syntax Parameters and Note

Note: Returns an array of all cells in a <table> or <tr> element.      Syntax:      document.all.elementID.cells // returns all cells document.all.elementID.cells(param1, param2) // returns an individual cell     param1   Required; zero-based index or                         the value of the desired member's id or name attribute.                             param2   Optional; zero-based index for the result returned                        if param1 matches more than one element.