?
Solved

Parent child window problem in java.

Posted on 2003-11-03
4
Medium Priority
?
256 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 9

Accepted Solution

by:
bhagyesht earned 400 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Introduction to Processes
Suggested Courses

771 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