Endless reload

E

Emil Horowitz

Hi,

I knew this before, but seem to have forgotten all about it:

How do I make the main window reload once, after I close the popupup window
launched from the main window? Putting "onFocus=location.reload()" into the
body tag gerenates an endless loop right after loading the page. Any help?

Thank you,
Emil
 
R

RobG

Hi,

I knew this before, but seem to have forgotten all about it:

How do I make the main window reload once, after I close the popupup window
launched from the main window? Putting "onFocus=location.reload()" into the
body tag gerenates an endless loop right after loading the page. Any help?

Sounds pretty nasty, try something like the following in the pop-up:

window.onunload = function(){
window.opener.location.reload();
}


Untested, unloved and probably not a good idea.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,159
Messages
2,570,881
Members
47,418
Latest member
NoellaXku

Latest Threads

Top