I have a page that opens a browser window, it displays a form that the user fills out. When the user finishes they simply click the upper right corner of the window to close it. The problem is when they do that I need for the main page which has the link to open it to REFRESH. Because when they save the form displayed in the pop up an entry is made in the database and if they want to open it again the main page needs to be refreshed to pass on the new parameter.
How can I close the pop up window AND refresh my main page when they do ?