Insertion of JavaScript in FP 2003, please help!

  Revi 08:48 13 Oct 05

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.

Nintendo Switch (Nintendo NX) release date, price, specs and preview trailer: Codename NX console…

1995-2015: How technology has changed the world in 20 years

8 things designers (and brands) need to know about the modern woman

How to speed up a slow Mac: 19 great tips to make an iMac, MacBook or Mac mini run faster | Speed…