Topic awaiting preservation: Refresh parent window and Close child window problem (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: NZ |
posted 11-24-2003 01:40
Hi, guys. I am having a hard time to refresh parent window and close child window. code: 'This is Javascript function to refresh parent window.
quote:
|
Paranoid (IV) Inmate From: [s]underwater[/s] under-snow in Juneau |
posted 11-24-2003 03:28
you are trying to invoke your function as a method of the window object, which it is not. Try just a regular call to your function: |
Paranoid (IV) Inmate From: NZ |
posted 11-24-2003 04:27
Hi, many thanks for yoru reply. |
Paranoid (IV) Inmate From: [s]underwater[/s] under-snow in Juneau |
posted 11-24-2003 06:17
Let's have a look at this do_refresh_hiro() function and maybe we can get to the bottom of this.... And which page contains this function, parent or child? |
Paranoid (IV) Inmate From: NZ |
posted 11-24-2003 07:21
Hi, Norm. Really thanks for your reply. |
Bipolar (III) Inmate From: Israel |
posted 11-24-2003 16:01
Hi, |
Paranoid (IV) Inmate From: [s]underwater[/s] under-snow in Juneau |
posted 11-24-2003 16:32
the reason I asked about the functions location is because I wanted to know if you were calling it from the same document as it was declared in. |
Paranoid (IV) Inmate From: NZ |
posted 11-24-2003 20:51
Hi, Yossi . Hi, Norm. Good morning from Nz. code: Title=Session("tom")
code: Response.Write("<html><script>do_Refresh_hiro();window.close();</script></html>")
|
Bipolar (III) Inmate From: Israel |
posted 11-24-2003 21:33
<html> |
Paranoid (IV) Inmate From: NZ |
posted 11-24-2003 21:48
Hi, Yossi. How are you today? code: <body onLoad='do_Refresh_hiro();window.close();'>
|
Paranoid (IV) Inmate From: France |
posted 11-24-2003 21:48
Hiroki: have you searched in the FAQ ? have you introspected the window.opener ? have you asked Google, searched on forums ... that problem is older than my grandMa and whenever I encounter a similar one I can't bear to get stuck more than 5 minutes. Really. code: function reloadOpenerAndClose() I'm really too kind. As I said above that problem have been solved zillion times before and apparently, you didn't even took ( I'm tempted to say again ) few minutes to search on the web. Sorry to say that but I definitely think that if there's something wrong, it's YOU. When will you try your best before moaning for a kind soul to write the code for you ? Do yourself a favor : gain in autonomy. |
Paranoid (IV) Inmate From: NZ |
posted 11-25-2003 01:41
Hi, guys. Many thanks for your help. |