Here's my two cents... may be totally unrelated but started typing
already...
Does this work?
childAuthorDiv.getHTML();
If you used normal divs (and not dynlayers), you may need to figure out how
Netscape does it's weird "document.divName" counter.
But generally, you should be able to get the to divs by calling the "doc"
property of the object you created using DynAPI2 ..
childAuthorDiv.doc.document.myLayer // hmmm.. this may not work
... hmmm ... maybe you should just use dynlayers instead of normal divs ..
it will give you the getHTML method that you need.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Angelo Tata
Sent: Friday, January 05, 2001 1:30 AM
To: [EMAIL PROTECTED]
Subject: [Dynapi-Help] Accessing Inline content?
I'm building a layout similar to a small window with fields to be filled
(all DynLayers). That's meant to present information coming from a
database. Since it's not a lot of info, the query is done once and the
fields' content are created as normal DIVs, and hidden.
Now, to fill the DynLayers I wanted to access the HTML content of the
inline DIVs.. I can get it with IE 5.5, but NS 4.76 reports "mylayer.html"
(or "mylayer.getHTML()") as "undefined". Is there a way I can access the
html content of an inline layer from Netscape?
Some code as a hint:
var lyrAuthor = DynAPI.document.all["mylayer"]
childAuthorDiv.setHTML(lyrAuthor.html)
..and in NS childAuthorDiv remains blank, while IE displays it all
correctly.
Thanks for any help..
As to the DynBuilder... well, I'm a VB guy.. and I'm actually sad not to
know Delphi, 'cause it's a really exciting project.. I'll follow the
discussion, though, and help if I can.
TBlack
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help