[Javascript] Accessing Form properties in layer

Reuben D Budiardja reubendb at goshen.edu
Fri Oct 5 13:38:58 CDT 2001


Thanks. I didn't forget. I really didn't know how to :).

rdb

On Wednesday 03 October 2001 01:26 am, you wrote:
> 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




More information about the Javascript mailing list