By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,472 Members | 1,219 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,472 IT Pros & Developers. It's quick & easy.

refreshing the screen

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
Yes, it did cool. thanks

Sep 1 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.