<html>
<head>
</head>
<body>
<script type="text/javascript">
var stringArray = new Array();
stringArray[0] = "A";
stringArray[1] = "B";
stringArray[2] = "C";
stringArray[3] = "D";
stringArray[4] = "E";
stringArray[5] = "F";
stringArray[6] = "G";
document.write("String value<p>");
for (var i = 0; i < stringArray.length; i++) {
document.write(i + 1 + ". " + stringArray[i] + "<br />");
}
document.write('</p>');
</script>
</body>
</html>
|