Page 1 of 1

refresh is losing the GET vars in Mac

Posted: Wed Feb 25, 2004 12:08 pm
by Bill H
I am using this to refresh the parent window when the popup window closes:

Code: Select all

<?php
<script>onload=function(){opener.location.reload(true);self.close()}</script>
?>
It works fine in each of six browsers on the PC platform, but not on the Macintosh. The problem is that the form is called with a url like:

Code: Select all

<?php
inpassn.php?Rid=125
?>
When the form is refreshed the PC platform preserves the "GET" variable, while the Mac does not. The segment of the script that needs to be refreshed is delimited by:

Code: Select all

<?php
elseif (isset($_GET['Rid']))              // need the secondary input form
?>
So what can I do to make the dratted thing work on the Mac?