Hi,
I have a main search results page, that causes a pop up window to popup. DB data is updated in this Pop-up. I want the main results page to update with the new information.
I am using the code
echo"<SCRIPT LANGUAGE=\"JavaScript\">\n";
echo "if(!window.opener.closed)\n";
echo "{\n";
echo "window.opener.location.reload();\n";
echo "}\n";
echo "window.close();\n";
echo"</SCRIPT>\n";
which works, but it pops up a little warning box stating
"The page cannot be refreshed without resending the information.
Click Retry to send the information again, or click cancel to return to the page that you were
trying to view."
Is there any way around this little warning box to update the main screen without asking the user if he/she wants to.
Thanks,
Adrian