hugdarla
Newbie
Posts: 1
Registered: 9/3/2003
Member Is Offline
|
| posted on 9/3/2003 at 05:46 PM |
|
|
Calendar not working - error on page
I am trying to add the script to a form that writes to an access database when it is submitted but I get "error on page" and the calendar
does not work. I have successfully added it to a new page but it won't work on this one. I have attached the code. Any suggestions would be very
helpful!
Attachment: insert_event.asp (13.2kb)
This file has been downloaded 464 times
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 9/4/2003 at 12:46 PM |
|
|
You should attach calendar2.js file only once and by initialization instead of
var cal1 = new calendar1(document.forms['form1'].elements['StartDate']);
you should write
var cal1 = new calendar2(document.forms['form1'].elements['StartDate']);
|
|
|