Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

refresh main page from a popup window 1

Status
Not open for further replies.

craigward

Programmer
Nov 13, 2007
230
GB
Hi,

I have a contactwce.html page and from there i launch popup.html. When popup.html closes i want to refresh
contact.html.

I have tried several methods but can't get it right. Any ideas on how i can achieve this?

Thanks for any advice

Code:
<html>
<head>
<script>
function closeIt(){ 

//window.location.href = "contactwce.html"

//window.location.reload( false );

//parent.FRAMENAME.l ocation.href='pageToGo.aspx'");
window.opener.refresh("contactwce.html")
//document.location.reload("contactwce.html")


//self.close();

} 
</script>
</head>

<BODY onLoad="closeIt()">

</body>

</html>
</HEAD>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top