怎么样用JS来在当前窗体中打开新窗体?
<script language = "javascript ">
function insert_azsq()
{
window.open( "azsq.php ");
} </script>
我是像上面那样写的,要怎么改一下才能在当前窗体中打开?
------解决方案-------------------- <script language = "javascript ">
function insert_azsq()
{
window.open( "azsq.php ");
window.opener = null;
window.close();
} </script>