Board Logo

Anybody know how to "define" things?
idrake - 3/18/2008 at 05:31 PM

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;
//-->
</script>

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!


tigra - 3/19/2008 at 04:21 PM

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.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/