Solved

Parent child window problem in java.

Posted on 2003-11-03
4
253 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 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using VBscript & RegEx, how can I match lines starting with Oracle word 17 92
Delphi: barcode reading on android platform 1 70
Help Required 3 117
Programming Codes 2 39
This is about my first experience with programming Arduino.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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…

763 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