I wrote this code in ânotepadâ with html extention,from wrox ASP book (chapter 2),with little change and tried to run it through my PWS, but it produced errors ,and just showed html part of the code and didnât interpret java script,LIKE THIS âToday's date is THE ENDâ
Can you fix it,
<html>
<head>
<title>writing the date with client side java script</title>
</head>
<BODY>
<p>Today's date is
<SCRIPT LANGUAGE=JAVASCRIPT RUNAT=CLIENT>
<!--
d = new Date();
Document.Write(d);
//-->
</SCRIPT>
THE END
</BODY>
</html>