dialogArgument 的详细介绍、
windows.dialogArguments的应用
2008-10-03 13:33
<HTML>
<HEAD>
<TITLE>showModelessDialogEX.htm</TITLE>
<SCRIPT>
var sUserName="";
function fnCallDialog(){
showModelessDialog("myDialog.htm",window,"status:false;dialogWidth:300px;dialogHeight:300px");
}
function fnUpdate(){
oName.innerText = sUserName;
}
</SCRIPT>
</HEAD>
<BODY>
<P>Enter your first name:
<SPAN ID="oName"
STYLE="color:red;font-size:24">Joan</SPAN></P>
<INPUT TYPE="button"
VALUE="Display Modeless Dialog" onclick="fnCallDialog()"> </BODY>
</HTML>
Here is the code for "myDialog.htm".
<HTML>
<HEAD>
<TITLE>myDialog.htm</TITLE>
<SCRIPT>
function fnGetInfo() {
var sData = dialogArguments;
sData.sUserName = oEnterName.value;
sData.fnUpdate();
}
function fnCancel() {
var sData = dialogArguments;
sData.sUserName = "Joan";
sData.fnUpdate();
}
</SCRIPT>
showModalDialog参数详细说明_IT/计算机_专业资料 暂无评价0人阅读0次下载举报文档 showModalDialog参数详细说明_IT/计算机_专业资料。showModalDialog 参数详细说明...
510px;help:no;center:yes;resizable:no;status:no;scroll:no'); 这样在对话框中就可以引用父窗口对象,怎么引用呢,通过window.dialogArgument就可以应用父窗口了...
Ex: – var dialogArg = window.dialogArguments; if(dialogArg.length > 1) { for(i = 0; i < dialogArg.length; i++) { alert("dialog === " + ...
JS中showModalDialog 详细使用_计算机软件及应用_IT/计算机_专业资料。JS中showModalDialog 详细使用 基本介绍: showModalDialog() (IE 4+ 支持) showModelesJS...
Argument题目 详细分析 很实用很实用隐藏>> 51.secondary infections,muscle strain 论断:要建议有肌肉拉伤的病人服用抗生素。因为医生最近证实二次 感染会防碍病人快速...
CAA 开发入门(4)程序中的所有“ ”内不能有空格——怎样弹出一个 dialog 1....要执行命令所在 的 module、要执行的命令、The argument of the CATCommand ...
Take the argument above, here we have a premise that states a valid argument is one that opens a dialog, qualifying that opening as non emotional, ...
JS中showModalDialog 详细使用 隐藏>> 基本介绍: showModalDialog() (IE 4+ 支持) showModelessDialog() (IE 5+ 支持) window.showModalDialog() 方法用来创建一...
? ? filesSelected The number of files selected in browse files dialog ...To upload multiple files, add each fileID as an argument. If ‘*’ is ...
filesSelected The number of files selected in browse files dialog ? ...Only setting this argument will return the value. ? value The value you ...
热门文档