Carl Clarke
Junior Member
Posts: 2
Registered: 9/2/2004
Member Is Offline
|
| posted on 9/2/2004 at 03:25 PM |
|
|
New user - Calendar bug
I have just downloaded the calendar demo and am getting a error message: Microsoft JScript runtime error: 'null' is null or not an objecton
on the line:
obj_calwindow.opener = window;
in calendar1.js
I have the calendar.html in the project and have followed the instructions for use. Can anyone tell me why this might be happening please.
Many thanks
Carl Clarke
The relevant parts of the HTML file are as follows:
<head>
<script language="javascript" src="calendar1.js"></script>
</head>
<body MS_POSITIONING="GridLayout">
<form id="Form1" name="MyForm" method="post" runat="server">
<input type="text" name="in1" ID="Text1"> <a href="javascript:cal1.popup();">Click
here</a>
</form>
<script language="javascript">
var cal1 = new calendar1(document.forms['MyForm'].elements['in1']);</script>
|
|
|
Carl Clarke
Junior Member
Posts: 2
Registered: 9/2/2004
Member Is Offline
|
| posted on 9/2/2004 at 07:03 PM |
|
|
Oops - problem solved
I have just resolved the problem, which was caused by my Enigma popup blocker.
Sorry
|
|
|