A string array : Array : Language Basics JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Language Basics » Array »

 

A string array



<html>
<body>

<script type="text/javascript">
var nameArray = new Array("Name 1","Name 2","Name 3","Name 4","Name 5","Name 6")

for (i=0; i<nameArray.length; i++){
    document.write(nameArray[i"<br>")
}
</script>

</body>
</html>



           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Language Basics
» Array