getHTML will only work in NS if the content was put there by setHTML. In Netscape there is no way to get the contents of a layer. DynAPI store the content in a variable when you use setHTML and this is what is returned by getHTML
----- Original Message ----- From: "Carlos Revillo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 05, 2001 12:38 PM Subject: [Dynapi-Help] getHTML > does the getHTML method works in ns4? i have a problem with that > > i have a <div id="layer1">with some code inside</div> > then, in the dynapi.onlad i do > > capa = this.document.getAll()['layer1'] > > but when i try something like alert(capa.getHTML()) i got nothing in ns4. > > in other browsers it's all right. any ideas? thanks. > > > _______________________________________________ > Dynapi-Help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dynapi-help _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help