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

Others 2018-03-01 07:13:13 2018-03-01 07:13:13 2525 次浏览
myWindow=window.open('','','width=200,height=100') 
myWindow.document.write("This is 'myWindow'") 
myWindow.focus() 
myWindow.opener.document.write("This is the parent window")