Solved

Parent child window problem in java.

Posted on 2003-11-03
4
252 Views
Last Modified: 2010-04-17


hi
  I've a problem in javascript.there is a link named Change filter.on clicking the
link a child window pops up.the variables in parent window are sent to the child
window.the child window values along with the parent window values are posted to
the servlet from the child window.the response from the servlet should be given to
the parent window instead of displaying in the child window and the child window
should get closed.but the response is displayed in the child window.
0
Comment
Question by:BabuPrasanna
4 Comments
 
LVL 9

Accepted Solution

by:
bhagyesht earned 100 total points
ID: 9676590
I suppose this is what you want to achieve.
parent window ->click on a link-> open child window and set variables->form submit on child window should close the window and output should be got on the parent window

for this in the form's target give window.opener and in the onsubmit event of the form call the submit of the form and window.close();
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question