jer
Newbie
Posts: 1
Registered: 4/22/2003
Member Is Offline
|
| posted on 4/22/2003 at 07:37 PM |
|
|
Netscape/DHTML Issues
I am programming for NS 4.79 and have my form inside a <DIV> tag with an ID. Works like a dream in IE.
I have this code in a javacript "if netscape" statement:
var cal1 = new calendar1(document.layers['contentarea'].document.date_range['end']);
where contentarea is the DIV id, date_range is the form name and end is the field.
i get a "document.layers.contentarea has no properties" error and a "cal1 is not defined" error.
I have used similar code successfully in many netscape/DHTML applications. I have also tried this in almost every conceivable combination and with
'eval' but can't get anywhere with the calendar.
Any help will be apprecated. thanks.
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 4/23/2003 at 07:10 AM |
|
|
Please, give us link to your code if it's possible. It would help us to solve your problem.
|
|
|