Re: getting the URL of a parent frame
| From: | Stewart G. | Date: | Wed, 27 Feb 2002 05:34:50 +0000 |
| Subject: | Re: getting the URL of a parent frame | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86367@lists.php.net to get a copy of this message | ||
This is the wrong list to bring up such an issue.
However you can use:
<script type="text/javascript">
parentWinLocation = window.parent.location.href;
</script>
In the future please keep messages to this list relevant to PHP.
=S.
On Fri, 25 Jan 2002, Unger wrote:
> Hello!
>
> How can i get the url of the main page with a script, that is running in a frame of that page?
>
> Thanks,
> Klaus