Browse - programming tips - new plain text windowDate: 2009jun15 Language: javaScript Q. How do I open a new plain text page? A. function newTextWindow() { win = window.open(); win.document.open('text/plain'); win.document.write('hello'); win.document.close(); }
Add a commentSign in to add a comment | Advertisements:
|