Hi all,
Newbie Question: Why doesn't this work?... I am trying to use a standard text/html module to display the current month...
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var msg = new Array();
Stamp = new Date();
month = Stamp.getMonth();
msg[0] = "January";
msg[1] = "Feburary";
msg[2] = "March";
msg[3] = "April";
msg[4] = "May";
msg[5] = "June";
msg[6] = "July";
msg[7] = "August";
msg[8] = "September";
msg[9] = "October";
msg[10] = "November";
msg[11] = "December";
function writeOutput() {
document.write(msg[month]);
}
// End -->
</script>
<b>Current Month:</b>
<script>
writeOutput();
</script>