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: Problem with pop calendar

Posts: 1
Registered: 11/16/2006
Location: Ireland
Member Is Offline
posted on 11/16/2006 at 04:13 AM Reply With Quote
Problem with pop calendar

I have a problem with the calendar.
Here is my code: -

<form name="weighReminderForm" action="weighReminderScript.cfm" method="post">
To get recipients of WIRs sent on

<INPUT type="text" name="calTxt" value = "<cfoutput>#qDate#</cfoutput>" size="10">

<a href="javascript:calObject.popup();">
<img src="img/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the date"></a><br>

<input type="submit" name = "submit" value="Get recipients">

<script language="JavaScript">
var calObject = new calendar1(document.forms['weighReminderForm'].elements['calTxt']);
cal1.year_scroll = true;
cal1.time_comp = false;

But when i try to get the calendar to pop up i get the followin error calObject is null or not an object.

Please help

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 11/16/2006 at 11:38 AM Reply With Quote

you called the variable calObject then try to access properties of cal1:

cal1.year_scroll = true;
cal1.time_comp = false;
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum

Go To Top

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