Iam trying to make the devshed tutorial for JavaScrip Object lesson to
work in my PC. The calendar.js file has the object 'Calendar'
constructed but when I called using the below html doc, I get the
"Calendar' is undefined error for line 6 and 7, where the obj1 and
obj2 are specified.
The full code of the calendar.js is in
Both the files are in the same directory. Iam using Windows 2000
Professional with IE6.
Appreciate any help to resolve this problem.
<html>
<head>
<script language="JavaS cript" src="calendar.j s"></script>
</head>
<body bgcolor="white" >
<script> obj1 = new Calendar(2, 2005); </script>
<script> obj2 = new Calendar(7, 2001); </script>
</body>
</html>
TIA
Sam
work in my PC. The calendar.js file has the object 'Calendar'
constructed but when I called using the below html doc, I get the
"Calendar' is undefined error for line 6 and 7, where the obj1 and
obj2 are specified.
The full code of the calendar.js is in
Both the files are in the same directory. Iam using Windows 2000
Professional with IE6.
Appreciate any help to resolve this problem.
<html>
<head>
<script language="JavaS cript" src="calendar.j s"></script>
</head>
<body bgcolor="white" >
<script> obj1 = new Calendar(2, 2005); </script>
<script> obj2 = new Calendar(7, 2001); </script>
</body>
</html>
TIA
Sam
Comment