Monday, March 22, 2010

Declare an array in active server pages

Arrays are used to store a series of related data items. The following example demonstrates how to declare an array that stores names.

Loop through the HTML headings
How to loop through the six headings in HTML.

Time-based greeting using VBScript
This example will display a different message to the user depending on the time on the server.

Time-based greeting using JavaScript
This example is the same as the one above, but the syntax is different.