Hi peoples. I posted a similar question with this one a few weeks back. But not having much luck in solving it, I thought I'd prod peoples brains again and also give some more info that I have since found out..
My Problem now resolves solely around the setHTML() function of a DynLayer and Netscape. Problem: Netscape 6.x fails to render a FORM in the HTML. displaying ONLY the preset values of text fields in the form, but not the widgets or anything. How to replicate: In short .. (load NS 6.2.3) var content='<table> <form> ... table/form code(nothing unusual) ... </form> </table>'; myLayer.setHTML(content); Example: http://www.thebuckland.com/staging/ns_forms_test/_dev/ns_form_test_dynapi.html In this example: There are two forms, one big, one small. You'll notice that the setHTML fails in Netscape for both forms. But loading the content from a file by URL works fine in Netscape. (<layer>) but that's not the issue (just showing that NS can render it okay if it wants to) The initial load of the page sets the content via setHTML() to the bigger form. So .. the problem lies in how setHTML deals with NS6.2.x ? or has this always been an issue. I will be loading the older browsers this evening and seeing if I can find a working one in the previous releases. Obviosuly the offending code is the NS6 derived setHTML Is there other ways to set the HTML of a layer in NS6.x now ? DynLayer.prototype._setHTML=function(html) { sTmp=(this.w==null)?'<NOBR>'+this.html+'</NOBR>':this.html; while (this.elm.hasChildNodes()) this.elm.removeChild(this.elm.firstChild); var r=this.elm.ownerDocument.createRange(); r.selectNodeContents(this.elm); r.collapse(true); var df=r.createContextualFragment(sTmp); this.elm.appendChild(df); } Any suggestions on where to go from here ? (more than willing to debug) Where do we find developer resources on the browser ? Thanks _____ This email was sent to you by Ramon Buckland, Software Engineer at f5. You can reach Ramon directly on 0421 379 694. ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help