Solved

Parent child window problem in java.

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How to split this in C++ 4 78
mapBully challenge 6 93
How can i compile this github project?? 2 44
C# Error - Add Failed 12 53
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now