在showModalDialog和showModelessDialog中submit时不弹出新窗口
« SMTP答复代码
Published by admin on 06月 29, 2010
步骤如下:
1.在showModalDialog的那个页面添加
<base target=”_self”/>
2.设置form的属性target为”"
示列:
//——————————————————-
try0.html
打开一个Modal Dialog:
<input onclick=”window.showModalDialog(’try1.html’,null,’dialogWidth:200px;dialogHeight:150px;status:no;help:no;’)” type=”button” value=”showModalDialog” />
try.html
需要提交表单的页面
<base target=_self>
<form action=”try1.html” method=”get” tagert=”">
<input type=”submit” value=”submit”>
</form>
上一篇文章:« SMTP答复代码
下一篇文章:在文档数达到65,536的限制时,Notes的全文索引查找会失败 »
【版权说明】:本网页上有部分内容来源于网上收集,但不能保证资料的完整性和准确性,仅提供参考和学习。如有侵权请立即通知我们,我们将立即删除,谢谢合作!
