The calendar works fine within the demo page onn my server. However, when I integrate it into my form, I get the following error message '
line 1306 char 2 'value' is not an object.
The input in my form is:
<input type="text" value="01.01.2007" readonly name="datevisited"><input type="button" value="Calendar" onclick="displayCalendar(document.forms[0].datevisited,'dd.mm.yyyy',this)">
The javascript and css files are linked fine, so what can I do to fix this problem?
I really need to get this calendar working asap, so any help would be really appreciated.
Thanks.