| Author |
Referesh main window when you close a pop up window
|
george
Greenhorn
Joined: Oct 07, 2002
Posts: 9
|
|
Hi All, One of my application module has two browser windows one is Main window with all naviagtions and another one, a pop up window only for entering some additional informations to main window. After I enter my information in the Pop up Window and Clicks on Submit button,I want to refresh my Main Window automatically with entered information. Really appreciate your valuable comments. Thanks
|
Geo
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56150
|
|
Geo, you'll need to change your name to conform to Ranch policies. Your popup window has access to the main window via the attribute opener. Two approaches using this mechanism come to mind: 1) Define a form in the main page, invisible if appropriate, and just before the popup closes itself it can submit the form using something along the lines of: 2) If you need more flexibility, define a javascript function that can do anything you want, and call it berfore closing the popup with: hth, bear
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Geo you are going to have to change your name to fit the forums only rule to keep posting here. You can change your display name by following this link.... http://www.coderanch.com/forums/user/edit Eric
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Referesh main window when you close a pop up window
|
|
|