1.在head区加入<base target="_self"/>
2.
window.showModalDialog("xxx.htm")
xx.htm
====================
<frameset rows="0,*">
<frame src="about:blank">
<frame src="xxx.asp">
</frameset>
xxx.asp
=========
<form target="_self" method=post>
或者
<script language="javascript">
window.name="win_test"
</script>
<form action="" target="win_test">
</form>
<head>之间加入
<BASE target=_self>