showModelessDialog 如何在关闭子窗口时触发父窗口的按钮的onclick事件 如题! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title>test</title> <script type="text/javascript"> function showdialog(){ var win=window.showModalDialog("photo3.html"); clickEvent(); } function clickEvent(){ alert(1); } </script></head><body> <input type="button" onclick="showdialog();"value="showdialog"><input type="button" onclick="clickEvent();"value="click"></body></html> <a href='#' onClick=\"window.showModalDialog('test.aspx','', 'scroll:auto; dialogWidth:700px; dialogHeight:350px;scroll:yes;help:0;');return true;\">测试</a>";我的打开窗口是在后台写的,请问我应该怎样来在子窗口关闭时,触发父窗口按钮 onclick 事件呢 <a href='#' onClick=\"window.showModalDialog('test.aspx','', 'scroll:auto; dialogWidth:700px; dialogHeight:350px;scroll:yes;help:0;');aa();\">测试</a>";aa() 为你的onclik时间方法 弹出模态出口会等模态窗口执行结束返回值后,才会执行aa() ASP+AJAX+XML解决大容量表单源代码码,符注释,共享了~~ 新手的一个问题急求大家帮忙,重分请教啊~在线等! 如何判断用户离开本页,转到了别的页面或者关闭本页了(难度大) 请教:javaScript中怎么把数组里的信息传给一个新增加的select 蛙蛙请教:用js操作注册表把某一站点假如可信站点 表格操作的一些问题 请问各位高手:如何让伸缩菜单里的超级联接是弹出新窗口的呢??(给200分!) 怎么样动动态添加Select中的下拉列表中的内容 一个奇怪的字符,不知如何写 各位大哥,快来看看。小弟卡起了 关于JAVA二维数组赋值给JS的问题 jsp中sql嵌套查询的问题
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test</title>
<script type="text/javascript">
function showdialog(){
var win=window.showModalDialog("photo3.html");
clickEvent();
}
function clickEvent(){
alert(1);
}
</script>
</head>
<body>
<input type="button" onclick="showdialog();"value="showdialog">
<input type="button" onclick="clickEvent();"value="click">
</body>
</html>
<a href='#' onClick=\"window.showModalDialog('test.aspx','', 'scroll:auto; dialogWidth:700px; dialogHeight:350px;scroll:yes;help:0;');return true;\">测试</a>";
我的打开窗口是在后台写的,请问我应该怎样来在子窗口关闭时,触发父窗口按钮 onclick 事件呢
aa() 为你的onclik时间方法 弹出模态出口会等模态窗口执行结束返回值后,才会执行aa()