All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
新瓶旧酒ASP.NET,AJAX(8),-,客户端脚本编程(Sys.Net命名空间下的)_[Asp.Net教程]
Oracle环境下APACHE虚拟服务器如何设置_php资料_编程技术
GridView删除记录时增加确认提示框_[Asp.Net教程]
ASP.NET技巧:使用,Anthem.NET,框架的一个调试经历_[Asp.Net教程]
必知技巧:ASP.NET中常用的优化性能方法详解_.net资料_编程技术
在,GridView,中增加记录的方法_[Asp.Net教程]
C#中Panel控件应用实例
SqlServer教程:经典SQL语句集锦_[SQL Server教程]
。net中前台javascript与后台c#相互调用
用PHP将整个网站生成HTML_php资料_编程技术
Reading number is top 10 pictures
From China fortress sora aoi3
Poor doll, hand job was caught the currently in effect by his dad
我国房地产真相
Chinese paper-cut grilles art appreciation7
这是男生笨么?
人美胸美腿更美2
白嫩丰满美女照片
The money of more than 100 countries and regions19
Steal to eat bacon bird
Seductive beauty of crime1
Download software ranking
XML+Web+Service开发教程
Sora aoi, the maid, students' uniforms
DreamWeaver8
Tram sex maniac 2 (H) rar bag12
Tram sex maniac 2 (H) rar bag9
matrix2
株洲本地在线棋牌游戏
虚拟机5.5.3版
Popkart Cracked versions Mobile phone games
Boxer vs Yellow2
delv published in(发表于) 2013/12/31 6:39:43 Edit(编辑)
分析一下网页子窗口和网页父窗口的交互_JavaScript技术_编程技术

分析一下网页子窗口和网页父窗口的交互_JavaScript技术_编程技术

分析一下网页子窗口和网页父窗口的交互_JavaScript技术_编程技术-你的首页-uuhomepage.com

1、父窗口传递信息给子窗口


看代码实例:



<script language=javascript>

function outPut()
{
//获取父窗口的文本信息赋值给text
var text = document.abc.text.value;
//打开子窗口,并且把操作句柄赋值给win变量,以下所有操作都是针对win对象的
var win = window.open("","mywin", "menubar=no,width=400,height=100,resizeable=yes");
//输出基本信息
win.document.writeln("输出结果");
win.document.writeln(
"你的信息是:

");
//输出从父窗口获取的信息
win.document.writeln(text);
win.document.close();
win.focus();
}

script>



添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.