[Javascript] Accessing Form properties in layer
Matthieu Féron
mferon at adeuza.fr
Wed Oct 3 01:26:05 CDT 2001
of course it is. you forget the layer:
Netscape
document.layer['layername'].document.forms[0]
IE
document.all['layername'].forms[0]
Reuben D Budiardja a écrit :
>
> Hi all,
> I have a page that have layer (using <DIV>). I have 2 layers, and in each
> layer I have a form.
>
> How do I access the form properties? something like
> document.forms['form_name']
> or
> document.forms[0]
>
> gives me undefined.
>
> Please help.
> Thanks in advance.
> Reuben D. Budiardja
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
More information about the Javascript
mailing list