源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

js 输出内容到新窗口具体实现代码

  • 时间:2020-11-11 19:40 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:js 输出内容到新窗口具体实现代码
找了好久,都没有~!!! 在w3c上面找到的,留下来以后备用~!
[u]复制代码[/u] 代码如下:
<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>
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部