hi,
There's an example of getting the form properties here:
http://www.richardinfo.f2s.com/dynapi/Richard_Examples/Get_Properties_Of_For
ms.html
main page:
http://www.richardinfo.f2s.com/dynapi/php/examples.html
it works fine in IE here, so there will be something else wrong with your
code I think.
Anyway, in IE you can also reference the form directly I think:
formname.fieldname.value
maybe the form hasn't been built when you try to reference it, in which case
you could do:
if(formname)alert(formname.fieldname.value)
Cheers,
Richard Bennett
[EMAIL PROTECTED]
www.richardinfo.com
(Everything running on, and ported to DynAPI2.51)
visit the DynAPI homepage (and FAQ) ::
http://dynapi.sourceforge.net/dynapi/index.php?menu=1
Browse (and search) the mailinglist here:
http://www.mail-archive.com/index.php3?hunt=dynapi
----- Original Message -----
From: "Matt Fair" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 06, 2001 7:24 AM
Subject: [Dynapi-Help] form elements in IE
> Hello,
> I am having trouble accessing form elements in a layer in Internet
> Explorer.
> When I do:
> LayerName.doc.formname.fieldname.value in NS it works fine but in IE it
> says
> Error: LayerName.doc.formname.fieldname.value is not an object.
> Do I have to do anything different to access this information in IE?
> Thanks,
> Matt
>
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help