T
Terri I.
I have an application that uses HTML, JavaScript, and ColdFusion 4.5. It
was originally written for NN 4.75, and I am updating it to work in the newer
browser. The application consists of a number of frames (some embedded within
each other), and for this particular function, I need to pass data between forms
on 2 different frames.
I updated all references to forms to use recommended syntax, i.e.
document.forms.formname, but I am still getting error that the form has no
properties. I added debugging code to view forms associated with the document,
and it shows that there are 0 forms, so somehow the system does not recognize
the form when I try to reference it from the other frame.
Does anybody have any other recommendations on how to deal with the no properties
error or what other causes for this might be??
FYI, here is some of my debugging code to show how I try to reference form:
var numForms = top.DataFrame.PlotBottomFrame.document.forms.length;
alert("Number of forms in PlotBottomFrame is " + numForms);
for (var i=0; i<numForms; i++)
{
alert("In loop - Number of forms in PlotBottomFrame is " + numForms);
alert("Form is " + top.DataFrame.PlotBottomFrame.document.forms.name);
}
was originally written for NN 4.75, and I am updating it to work in the newer
browser. The application consists of a number of frames (some embedded within
each other), and for this particular function, I need to pass data between forms
on 2 different frames.
I updated all references to forms to use recommended syntax, i.e.
document.forms.formname, but I am still getting error that the form has no
properties. I added debugging code to view forms associated with the document,
and it shows that there are 0 forms, so somehow the system does not recognize
the form when I try to reference it from the other frame.
Does anybody have any other recommendations on how to deal with the no properties
error or what other causes for this might be??
FYI, here is some of my debugging code to show how I try to reference form:
var numForms = top.DataFrame.PlotBottomFrame.document.forms.length;
alert("Number of forms in PlotBottomFrame is " + numForms);
for (var i=0; i<numForms; i++)
{
alert("In loop - Number of forms in PlotBottomFrame is " + numForms);
alert("Form is " + top.DataFrame.PlotBottomFrame.document.forms.name);
}