请问:模态窗口中的的表单提交时会弹出新的窗口,这是怎么回事儿?能不能提交到本窗口? <form name="aaa" action="xxx.asp" target="_self"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 target="_self"不是默认设置么?我添加了也没用,还是弹出新窗口. iframe or frameset<script>showModalDialog("about:<iframe width=100% height=100% src='about:<a href=.>test</a>'>")</script> 当然可以:在IE5.5以下的版本用frameset以上用frameset或iframe都可以;例子:http://www.csdn.net/Expert/TopicView.asp?id=781508 很簡單的將原先要顯示在對話框的頁面放井一個框架頁面,然後用對話框打開這個框架頁面即可,注意在<form...>中不要指定target例:a.html..... var feaustr="dialogWidth:500px;dialogHeight:320px;center:yes;resizable:no;scroll:no;status:no";var ks=window.showModalDialog("b.asp","",feaustr);.....b.asp....<Frameset ...><frame ... src="c.asp"></Frameset>c.asp就是你以前直接在模式對話框中打開的拉個頁面 在模式对话框里:<form target=meizz>....</from>在主页面里写上:<iframe name=meizz width=0 height=0 frameborder=0 style="display: none"></iframe>这样提交就不会有新的页面产生了。 解决模态窗口中提交弹出新窗口的问题:当然可以:在IE5.5以下的版本用framesetIE5.5以上用frameset或iframe都可以;例子:http://www.csdn.net/Expert/TopicView.asp?id=781508 to 楼上还是没看到你的提交(submit在哪儿) sorry贴子过期了.对lifeiqhp(飞哥) 说的 jquery无刷新问题------------请帮助 JS能判断判断出WINDOWS的消息类型吗? FormValid0.5版本发布,带ajax自定义验证例子 级联下拉菜单问题 asp 如何实现动态的字体颜色设置 如何对textarea中的内容进行匹配并显示图片 菜鸟求教,jquery选择器的问题 jquery如何加载外部地址啊? 菜鸟:这么写为什么不行呢? 手机浏览器页面如何用js关闭? getAttribute如何得到style=""中的属性 如何用JavaScript控制tab
<script>
showModalDialog("about:<iframe width=100% height=100% src='about:<a href=.>test</a>'>")
</script>
在IE5.5以下的版本用frameset
以上用frameset或iframe都可以;
例子:
http://www.csdn.net/Expert/TopicView.asp?id=781508
將原先要顯示在對話框的頁面放井一個框架頁面,然後用對話框打開
這個框架頁面即可,注意在<form...>中不要指定target
例:
a.html
.....
var feaustr="dialogWidth:500px;dialogHeight:320px;center:yes;resizable:no;scroll:no;status:no";
var ks=window.showModalDialog("b.asp","",feaustr);
.....b.asp
....
<Frameset ...>
<frame ... src="c.asp">
</Frameset>c.asp就是你以前直接在模式對話框中打開的拉個頁面
<form target=meizz>....</from>在主页面里写上:
<iframe name=meizz width=0 height=0 frameborder=0 style="display: none"></iframe>这样提交就不会有新的页面产生了。
当然可以:
在IE5.5以下的版本用frameset
IE5.5以上用frameset或iframe都可以;
例子:
http://www.csdn.net/Expert/TopicView.asp?id=781508
还是没看到你的提交(submit在哪儿)
对
lifeiqhp(飞哥) 说的