找了好久,都没有~!!!
在w3c上面找到的,留下来以后备用~!
复制代码 代码如下:
<html>
<body>
<script type="text/javascript">
myWindow=window.open('','','width=200,height=100')
myWindow.document.write("This is 'myWindow'")
myWindow.focus()
myWindow.opener.document.write("This is the parent window")
</script>
</body>
</html>
最后
以上就是追寻路灯最近收集整理的关于js 输出内容到新窗口具体实现代码的全部内容,更多相关js内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复