codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  how to refresh the parent window`s parent?  divine at 22:13 on Wednesday, July 06, 2005
 

Hi

Need help to do the following.

I need to refresh a window from itz child window's child window.and the intermediate window is closed after popping up itz child.

How can I do that?

Can anybody help me?itz urgent

Thanks
Div


  Re: how to refresh the parent window`s parent?  Troy Wolf at 15:33 on Friday, July 08, 2005
 

I'm pretty sure the answer is no. If you destroy the parent window in between, you've lost the reference chain back to the parent's parent. Sorry.
Troy Wolf: site expert
SnippetEdit Website Editor


  Re: how to refresh the parent window`s parent?  divine at 16:40 on Friday, July 08, 2005
 

OK
I have some alermessages stored in session.When I close the child window I need to somehow display the messages.

Is there any way to do it?

Please help.

  Re: how to refresh the parent window`s parent?  Troy Wolf at 16:44 on Friday, July 08, 2005
 

By "session", do you mean an ASP session?

If so, then I'd tend to think if you knew enough code techniques to create session variables, you'd know how to create a page to display them. Let me know.
Troy Wolf: site expert
SnippetEdit Website Editor


  Re: how to refresh the parent window`s parent?  divine at 16:57 on Friday, July 08, 2005
 

when i process the child window(which is a create page JSP),I will store some data in the session variables.

on window close,I should display the messages I'm storing in the session varibales.

I'm pretty new to JSP programming.

Please guide me if u can



  Re: how to refresh the parent window`s parent?  Troy Wolf at 17:14 on Friday, July 08, 2005
 

Maybe I don't quite understand what you exactly want, but seems like your answer is simply don't close the window. Instead, have it submit back to your server to run a script that displays the messages back to the user in your window. The users can then view the messages and close the window when finished.
Troy Wolf: site expert
SnippetEdit Website Editor









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
• Re: Insert Contents of .txt file into a .html page
• Re: Perl regular expression problem.
• Re: Problems in login using WWW::Mechanize
• searching for gd::graph guide
• Re: ARRAY OF HASHMAPS
• Adv. Regexp or Otherwise
• Adv. Regexp or Otherwise
• I need help pleasee! My project is about using I/o Stream
• Help Running VB script in Windows 2003


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008