Friday, July 20, 2007

JavaScript Dynamic Document Creation in New Windows

 
 
newtext = document.forms.mainForm("MyTextAreaElement").value;
newwindow = window.open();
newdocument = newwindow.document;
newdocument.write(newtext);
 

No comments: