Here's how my code looks now:
<input type="Text" name="input1" value="">
<!-- // 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!
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.