You need to assign an ID to all elements you wish to access. Then...
layer1.doc.myform
or
layer1.doc[myform]
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jonah
Sent: Thursday, June 14, 2001 9:44 AM
To: Dynapi-Help
Subject: [Dynapi-Help] proper way to access forms in a DynLayer
Say I have created two DynLayers, layer1 and layer2.
The HTML in layer1 has a form called "layer1Form".
The HTML in layer2 has a form called "layer2Form".
How do I access those forms later?
I tried "layer1.forms[0].layer1Form", which does not work.
Does anyone know the correct way?
Thanks,
Jonah
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/2001
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/2001
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help