I have a problem opening a new window with javascript. I have HTML code in var called "theCode";
var j = window.open('') j.document.write(theCode); j.document.close();
The following code works fine, but in chrome I canโt save a new document or view the source code (options are disabled). In firefox, this is great. Is there any way around chrome for this?
source share