How to update page.

M

mao

I have a page defined something like this (excluding the essentials).

<html>
<head>
<script language="javascript">
arMonths = new Array("Jan","Feb","Mar"....);
iMonth = 1;
</script>

<body>
<script>
document.write(arMonths[iMonth]);
</script>
</body>
</html>

Once the page is displayed, how can I change the index (iMonth) and update
the page with the new month?
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top