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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

refresh parent window

Status
Not open for further replies.

onressy

Programmer
Joined
Mar 7, 2006
Messages
421
Location
CA
from a pop window, i would like to refresh the parent window upon window.close of the pop-up

this is what i trying to do:

function refreshParent() {

refresh the parent window


window.close();
}
 
this is what i have which seems to work
<script>
top.opener.location.reload(true);
window.close();
</script>

but the problem is the parent url contains value pairs, how can i remove these value pairs so the parent reloads with the value pairs? thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top