1
<SCRIPT language="JavaScript1.2">
function openwindow()
{
window.open("http://www.javascript-coder.com","mywindow","menubar=1,resizable=1,width=350,height=250");
}
</SCRIPT>
<P>
<A href="javascript: openwindow()">Open the JavaScript Window Example 1</A>
</P>
这是打开新窗口的URL一个例子,我怎样才能使它在同一个窗口中打开..类似target=self
在自己窗口中使用Java脚本打开一个URL