MD
Tue Nov 04 10:46:59 CST 2003
Hi,
var oDate = new Date();
var iMonth = oDate.getMonth();
--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
----------------------------------------------------------------------------
--------------------
If you think I'm doing a good job, let MS know at mvpga@microsoft.com
"mao" <NOSPAM123@datasouth.com> wrote in message
news:%232seJctoDHA.744@tk2msftngp13.phx.gbl...
> 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
>
>