I have a list of DynLayers, and I would like to compose a list of all of the
forms within those DynLayers.  Each DynLayer in my list may contain other
DynLayers.

For IE, I wrote:

        for (var elem in this.lyrs) {
                if (this.lyrs[elem].doc.forms.length > 0) {
                        for (var j = 0; j <
this.lyrs[elem].doc.forms.length; j++) {
                                this.layersWForms.hasForms = true;
        
this.layersWForms.kovForms[this.lyrs[elem].doc.forms[j].name] =
this.lyrs[elem].doc.forms[j];
                        }
                }
        }

Can someone tell me how I might do this in Netscape?
I'm using DynAPI version 2001.01.25.
I think the general idea is that I need recurse down all the documents
contained in my list of layers.  I'm not as familiar with the NS DOM,
is there an easy way to do that?

--Dave

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to