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: Anybody know how to "define" things?

Posts: 12
Registered: 3/10/2008
Location: usa
Member Is Offline
posted on 3/18/2008 at 05:31 PM Reply With Quote
Anybody know how to "define" things?

Here's how my code looks now:

<form name="schedule">
<input type="Text" name="input1" value="">
<a href="javascript:call.popup();"><img src="tigra_calendar/img/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the date"></a>
</form><script language="JavaScript">
<!-- // create calendar object(s) just after form tag closed
// specify form element as the only parameter (document.forms['formname'].elements['inputname']);
// note: you can have as many calendar objects as you need for your application
var cal1 = new calendar2(document.forms['schedule'].elements['input1']);
cal1.year_scroll = true;
cal1.time_comp = false;

when I test in Firefox I get 2 errors: calendar2 is not defined; call is not defined.
How do I define these?
Again, thanks for the 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 3/19/2008 at 04:21 PM Reply With Quote

calendar2 is defined in calendar2.js
make sure it exists on the server, it is linked to the HTML file, and the path is correct.
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