Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: JavaScript Problems
From: Jason Nugent
Date: Sun, 21 Jun 1998 16:45:00 +0100

On Sun, 21 Jun 1998 TheGilsterataol [dot] com wrote:
> <script LANGUAGE="JavaScript">
> var now = newDate( );
> var day = now.getDay( );


Hey Gil,

You need a space between new and Date(). your first line should
look something like this:

var now = new Date();
var day = now.getDay();

... rest of day translation code snipped.....

document.write("Today is " + day);


IE is probably telling you in its own obscure way that newDate()
is not defined as function anywhere.

Hope that helps, Jason


---------------------
Jason Nugent, BSc(Hons)
ap958atchebucto [dot] ns [dot] ca "This is who we are."
jasonatirt [dot] org
Certified Webmaster

Visit IRT.org - Internet Related Technologies - http://www.irt.org
Articles on all aspects of internet development, including -
CGI/Perl, CSS, JavaScript, dHTML, Java, XML, HTML

********************************************************************
The Best Place for Sport on the net! - Sportscience www.sportsci.org
********************************************************************


------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  JavaScript Problems, TheGilster

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]