JavaScript DHTML/Javascript Collections/rows

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

"rows" Example

   <source lang="html4strict">
   

<html> <body>

Row 1
Row 2
Row 3
Row 4
Row 5
Row 6

<script language="JavaScript">

   var m = document.getElementById("myTable").rows.length;
   alert(m);

</script> </body> </html>


     </source>