Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Error 'cal1' is null or not an object

Posts: 1
Registered: 3/10/2008
Location: UK
Member Is Offline
posted on 3/10/2008 at 04:06 PM Reply With Quote
Error 'cal1' is null or not an object

Just installed Tigra Calendar and followed the instructions to the letter. I receive this error in IE7 when the cal.gif link is clicked:
Line: 1
Char: 1
Error: 'cal1' is null or not an object

My html looks like this (edited down):
<script language="JavaScript" src="../_scripts/calendar1.js"></script>

<form method="POST" action="--WEBBOT-SELF--" name="myformname">
<input type="text" name="myinputname" size="10">
<a style="color: #0000aa; text-decoration: none; font-family: Tahoma, Verdana; font-size: 11px" href="javascript:cal1.popup();"><img height="16" alt="Click here to choose this date from a calendar" src="_images/graphics/cal.gif" width="16" border="0"></a><a href="javascript:cal1.popup();"></a>
<script language="JavaScript">
var cal1 = new calendar1(document.forms['myformname'].elements['myinputname']);
cal1.year_scroll = true;
cal1.time_comp = false;
View User's Profile View All Posts By User U2U Member

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 3/11/2008 at 02:51 PM Reply With Quote

there must be another error message on that page. something like "calendar1 is not defined". If that's the one then the path to calendar1.js is incorrect or that file is missing.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Calendar
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
Tigra Calendar PRO
Product Demonstrations Live Demos
Popup Calendar
Onpage Calendar
Modal Calendar
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart

Go To Top

Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004