Forum Moderators: open
First of all the site is like an estate agent site, with a property search. I was using a search results page as the parent page (searchresults.php) to launch a popup which has a mortgage calculator (calc.php). I would then do some calculations and use javascript to pass them back to the parent page using the opener.location function.
The problem now is that the parent page itself was generated from a search, so simply loading the page will lose all of the search information that was passed to it.
So what I need to do is refresh the search results page as to not lose the search criteria, but then also have the page include the parsed values, (like searchresults.php?myvalue=7).
So it's like I need to do load and refresh in one. Is this in anyway doable? Or at least is there a way around the problem?
Any help would be appreciated.
i just want the function in the popup window to be like
window.parent.reload='http://www.example.com/searchresults.php?ionumber=<? echo $interest;?>&ioduration=<? echo $duration;?>';"
but when i do this i lose the values off the end of the address. i just need some way of doing like
reload "myparentlink.php" and "myparentlink" = "myparentlink"+"?ionumber=<? echo $interest;?>"
or something along those lines... just a way of refreshing but to include the new values
[edited by: DrDoc at 9:37 am (utc) on July 19, 2007]
[edit reason] examplified [/edit]