nick
09-08-2001, 12:18 AM
<SCRIPT language="javascript">
window.open("http://yahoo.com","privacy","scrollbars=no");
function go()
{
privacy.location.replace('http://www.go.com');
}
</SCRIPT>
<a href="#a" onclick="JavaScript:go();">go</a>
I'm trying to replace the location of the new window that was opened. I don't want to use:
privacy = window.open(blah)
privacy.location.replace
Is there a way to fix the above script and not resort to using this one? I'm trying to alter the location of a window that's already opened...
window.open("http://yahoo.com","privacy","scrollbars=no");
function go()
{
privacy.location.replace('http://www.go.com');
}
</SCRIPT>
<a href="#a" onclick="JavaScript:go();">go</a>
I'm trying to replace the location of the new window that was opened. I don't want to use:
privacy = window.open(blah)
privacy.location.replace
Is there a way to fix the above script and not resort to using this one? I'm trying to alter the location of a window that's already opened...