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

时间:2013-05-31    点击:78   
找了好久,都没有~!!!

在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操作select下拉框动态变动(创建/删除/获取)
jQuery实现单行文字间歇向上滚动源代码
js内存泄露的几种情况详细探讨
js判断鼠标同时离开两个div的思路及代码
Javacript实现颜色梯度变化和渐变的效果代码
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved