On 8 Jan 2004 13:27:44 -0800, Terri I. <> wrote:
<snip>
> 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??
<snip>
Try applying the same syntax to frame accesses so:
top.DataFrame.PlotBottomFrame.document.forms.lengt h
becomes:
top.frames['DataFrame'].frames['PlotBottomFrame'].document.forms.length
or, more reasonably:
var bottomFrame = top.frames['DataFrame'].frames['PlotBottomFrame'];
var numForms = bottomFrame.forms.length;
...
Mike
--
Michael Winter
d (replace ".invalid" with ".uk" to reply)