I am having a bit of a battle with something that seems simple. I have a [javascript] string that has DOM elements in it and would like to open a new window (window.open()?) and
Archer's answer is the best way. But you need to close the document to run the scripts inside the "htmlString".
var wnd = window.open("about:blank", ""); wnd.document.write(htmlString); wnd.document.close();