469,310 Members | 2,439 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,310 developers. It's quick & easy.

refreshing the screen

I have a page I use in a pop-up window. The result of the pop-up saves
data to a database.

When the data is finished saving I want to refresh the screen that
opened up the pop_up.

I can open the pop_up from about a number of different pages.

My code at the conclusion of the pop_up looks to see what window it was
opened from so I have some kludgy code that tries to determine that
(actually a cf client variable gets set).
Every time I open the window though from a new page I have to modify
the script to add that new page.

Instead of using something like:
self.opener.location='mypgm.cfm?num=42';

there must be some kind of self.opener.refresh or self.opener.reload
that will just refresh teh page I came from.

For this particular scenario I am just concerned with it working in IE.

Any help is appreciated.

Mike

Sep 1 '05 #1
3 4083
mike <hi****@charter.net> wrote:
Instead of using something like:
self.opener.location='mypgm.cfm?num=42'; there must be some kind of self.opener.refresh or self.opener.reload
that will just refresh teh page I came from.


I believe

self.opener.location=self.opener.location;

will do the trick...

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Sep 1 '05 #2
Christopher Benson-Manica schrieb:
mike <hi****@charter.net> wrote:

Instead of using something like:
self.opener.location='mypgm.cfm?num=42';


there must be some kind of self.opener.refresh or self.opener.reload
that will just refresh teh page I came from.

I believe

self.opener.location=self.opener.location;

will do the trick...


Didn't tested with self.opener, but self.opener.location.reload() should do the
trick too :)
Sep 1 '05 #3
Yes, it did cool. thanks

Sep 1 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by edward hage | last post: by
60 posts views Thread by A.Translator | last post: by
4 posts views Thread by Nikola Bucic | last post: by
reply views Thread by lv2compute | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Geralt96 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.