会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
且行且歌
http://www.cnblogs.com
ShowModalDialog页面传值
ShowModalDialog页面传值
function
OnClick()
{
S
=
window.showModalDialog(
"
b.htm
"
);
document.all.item(
"
Test
"
).value
=
S;
}
<
input type
=
button value
=
"
OK
"
onclick
=
"
OnClick()
"
>
S
=
window.showModalDialog(
"
b.htm
"
);
document.all.item(
"
Test
"
).value
=
S;
window.returnValue
=
document.all.item(
"
InputText
"
).value;
window.close()
S
=
window.showModalDialog(
"
b.htm
"
);
document.all.item(
"
Test
"
).value
=
S;
posted on
2007-08-11 00:15
simhare
阅读(
318
) 评论(
0
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部
导航
博客园
首页
新随笔
联系
订阅
管理
公告