Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3277716
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:24:00+00:00 2026-05-17T19:24:00+00:00

All, This should be a pretty simple question, but I haven’t found quite the

  • 0

All,

This should be a pretty simple question, but I haven’t found quite the answer I’m looking for yet.

I have a parent HTML window. When a user clicks a button on that window, it opens a child window (e.g., “childA.asp”)

That child window includes a form. Here’s what I’d like to happen when the user submits that form:

  1. The data in the form is saved
  2. The child window closes
  3. The parent window updates to reflect the new data

How can I implement this?

Should the form on childA.asp post the data to another page (e.g., “childB.asp”), which saves the data, then calls a JavaScript function on the parent window notifying it to update, then close itself?

If so, how would you do this?

Many thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T19:24:01+00:00Added an answer on May 17, 2026 at 7:24 pm

    Javascript code in your child page can refer to the parent page via window.opener. Thus what could happen is this:

    1. Child page submits the form to the server
    2. Server does stuff and responds with a “result” page
    3. The “result” page is either the original form with errors, or else a little page with just a <script> block to do:

      window.opener.timeToReloadYourself();
      window.close();
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All, I'm sure this is a pretty simple SQL query question, but I'm sure
Dear all,Now i have this question in my java program,I think it should be
This is pretty simple question, but I'm having really hard time with it. I
This seems like a pretty common problem, but I haven't found any sort of
I'm hoping this is a rather simple question, but I'm pretty new to MVC
We have all heard of how in a for loop, we should do this:
This is not 'How To Catch All Exceptions' but rather 'Should You Catch All
I think this question is probably fairly simple, but I've been searching around and
I'm a complete newcomer to this kind of thing, hence the simple question, but
I have a pretty simple question. I am inserting a lot of records at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.