2011年8月4日
摘要: JavaScript的showModalDialog(模态对话框)中有提交按钮,在模态对话框中点击按钮会跳出新的页面,那么我们可以设置<base target="_self">来解决该问题.<base target=_blank>//在空白页打开 <base target=_parent>//用在框架中,在当前页的上一页(父亲)打开 <base target=_search>//在浏览器搜索栏打开 <base target=_self>//在当前页打开 <base target=_top>//用在框架中 阅读全文
posted @ 2011-08-04 10:35 海纳 阅读(2170) 评论(1) 推荐(1) 编辑