JavaScript Tutorial/Array/Array Declaration — различия между версиями

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

Текущая версия на 11:25, 26 мая 2010

Array declaration with element count

   <source lang="javascript">

<html> <head> <title>A Simple Page</title> <script language="javascript">

</script> </head> <body> </body> </html></source>


Define two arrays and use for statement to ouput their values

   <source lang="javascript">

<html> <head> <title>Define two arrays and use for statement to ouput their values</title> </head> <body>

Define two arrays and use for statement to ouput their values

<script language="javascript" type="text/javascript"> </script>

</body> </html></source>


Initialize a string array during declaration and check the array size

   <source lang="javascript">

<html> <head> <title>A Simple Page</title> <script language="javascript">

</script> </head> <body> </body> </html></source>


Integer Array Declaration with initialization

   <source lang="javascript">

<html> <head> <title>Array Declaration</title> <script language="javascript" type="text/javascript">

</script> </head> <body> </body> </html></source>


Output array element in a HTML table format

   <source lang="javascript">

<html> <head> <title>Table of Phone Numbers</title> </head> <body>

Table of Phone Numbers

<script language="javascript" type="text/javascript"> </script>

</body> </html></source>


Paralled array

   <source lang="javascript">

<html> <head> <title>Define two arrays and use for statement to ouput their values</title> </head> <body>

Define two arrays and use for statement to ouput their values

<script language="javascript" type="text/javascript"> </script>

</body> </html></source>


Store strings in array

   <source lang="javascript">

<html> <head> <title>Store strings in array</title> </head> <body>

<script language="javascript" type="text/javascript"> </script>

</body> </html></source>