Insertion of JavaScript in FP 2003, please help!

  Revi 08:48 13 Oct 2005
Locked

In the head section of my page I am typing the following 2 codes, exactly as they are one after the other, and it is not working, could any one please correct my mistake? Where exactly should I paste the following codes?

1. script language="JavaScript">document.write(GetTodaysDate()); /script>

2. function GetTodaysDate(){
var oDate = new Date(); var sDate = oDate.getMonth() + "/" + oDate.getDate() + "/" + oDate.getYear() return sDate;
}

Thanks in advance.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

AMD Radeon Adrenalin release date, new features, compatible graphics cards

Inside the iMac Pro - Apple's most powerful Mac yet

iMac Pro release date, UK price & specs

Comment nettoyer Windows et optimiser son PC gratuitement ?