Document.write
Hi,
I have an HTML page dynamically generated using XSL and XML data. There is also some dynamic javascript in that page too. Now the problem is that I can retrieve the HTML using "transformToText" method (using the zXML library provided by authors of Professional AJAX) or by transformNode method provided by I.E. Both of these methods return a string.
When I do a document.write(strHTML), it overrides everything on the page that is currently running on the browser. Is there anyway, I could append the newly generated HTML to the currently running HTML (coded in an ASP page)so that I could retain all the 'javascript includes" from it and use them with the newly generated HTML.
Your help and a quick is deeply appreciated.
Thanks,
Asim
|