JavaScript DHTML/Javascript Collections/cells

Материал из Web эксперт
Перейти к: навигация, поиск

"cells" Example

   <source lang="html4strict">
   

<html> <body>

Cell 1 Cell 2
Cell 3 Cell 4
Cell 5 Cell 6
Cell 7 Cell 8

<button onclick="alert(myTable.cells.length);">Length of table</button> <button onclick="alert(myRow.cells.length);">Length of row</button> </body> </html>


     </source>