Eiolon Posted January 11, 2007 Share Posted January 11, 2007 I have a page that shows a list of items added to the database. There is a link you click on that opens a popup window to insert a new item. I am using javascript to make that window open. When someone inserts the record into the database, I want it to close the popup window and refresh the screen that shows the items in the database. Thanks for your help! Link to comment https://forums.phpfreaks.com/topic/33794-is-this-possible-refreshing-and-popup-windows/ Share on other sites More sharing options...
matto Posted January 11, 2007 Share Posted January 11, 2007 You would need to put an unload event on your popup window which called a function which contained something like this:window.opener.location='nameofparentwindow.html' Link to comment https://forums.phpfreaks.com/topic/33794-is-this-possible-refreshing-and-popup-windows/#findComment-158522 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.