I have a pop-window which is a form. it calls an asp page which performs an update to a db. then outputs the following html. Which should close the pop-up and refresh the opening window.
The problem is Netscape just hangs, once i click on the opening window, it refreshs and the pop-up goes away.
i have tryed
window.opener.location.href = 'list.asp';
window.opener.focus();
window.self.close();
and changing the order etc..
any ideas?
Code:
<html>
<head>
<script language="Javascript">
function ManipulateWindows()
{
window.opener.location.href = 'list.asp';
window.self.close();
}
</script>
</head>
<body onLoad="ManipulateWindows();"></body></html>
The problem is Netscape just hangs, once i click on the opening window, it refreshs and the pop-up goes away.
i have tryed
window.opener.location.href = 'list.asp';
window.opener.focus();
window.self.close();
and changing the order etc..
any ideas?