homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

Refreshing Main Window from a PopUp!
how do I do this?

 12:51 am on Jun 28, 2003 (gmt 0)

Hi guys,

I`m in need of a little javascript.

Assume I have a members area on my website and when each member clicks an edit link in their profile, their profile opens up in a pop up window where they can edit their details.

How do I do it so that when they click "Update", their details are updated, then the pop up window closes and the main page refreshes showing the new details?

Thank you!




 1:30 am on Jun 28, 2003 (gmt 0)

I'm a bit weak on my javascript but I don't think you can do this because of security issues. I could be totally out-to-lunch on this too so perhaps a JS guru might stop in and tell us.


 2:17 am on Jun 28, 2003 (gmt 0)

You can do a refresh from a window opened by that document.


thus should refresh the parent window.


 7:37 am on Jun 28, 2003 (gmt 0)

Thanks korkus2000, thats exactly what I was looking for.

I got the idea from my Invision forum software. With that you have a link called "My Assistant", which when clicked opens a pop up window. When any of the links are clicked in that window, it closes that window and refreshes the main page to direct to whatever link was pressed.



 11:33 am on Jun 28, 2003 (gmt 0)


You can find a lot of samples out there. My first crack on google turned up quite a few:

Google: javascript remote control [google.com]


 11:52 am on Jun 28, 2003 (gmt 0)

Thanks bonanza, thats very useful. I could have done a search, but with posting you get to hear different opinions of different ideas, which I always enjoy reading.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved