«

js输出内容到新网页(预览)

emer 发布于 2018-3-1 15:13   2509 次阅读     


myWindow=window.open('','','width=200,height=100') 
myWindow.document.write("This is 'myWindow'") 
myWindow.focus() 
myWindow.opener.document.write("This is the parent window")