如何用 javascript 在本窗口中打开另一个页面

如题所述

<SCRIPT LANGUAGE="javascript">
function newwindow()
{window.location.assin("anotherwindow");}

</script>
<input type=button onclick=newwindow()>
"anotherwindow" 为你想打开的网页的相对活绝对地址
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答