S
soni2926
Hi,
I have a popup window that i need to populate the hidden field in with
the url of the page that called it. I know i can use javascript ->
opener.location to get the url of the page that called the window, how
do i now place this into the value of an hiddenfield and have it
available in the onload of the page?
i tried something like:
<input type="hidden" id="subject" name="subject" runat="server"
value="<script language=javascript>document.write(opener.location')</
script>" />
but that didn't work. Is there any way to do this? Or anyway function
i can call in the onload method to know the page that called the
popup?
Thanks.
I have a popup window that i need to populate the hidden field in with
the url of the page that called it. I know i can use javascript ->
opener.location to get the url of the page that called the window, how
do i now place this into the value of an hiddenfield and have it
available in the onload of the page?
i tried something like:
<input type="hidden" id="subject" name="subject" runat="server"
value="<script language=javascript>document.write(opener.location')</
script>" />
but that didn't work. Is there any way to do this? Or anyway function
i can call in the onload method to know the page that called the
popup?
Thanks.