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

  • SEARCH
  • Home
  • 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 7571507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:41:28+00:00 2026-05-30T15:41:28+00:00

I have a pop-up called PopUp1 (page0.aspx). When the user clicks a row in

  • 0

I have a pop-up called PopUp1 (page0.aspx). When the user clicks a row in PopUp1’s GridView, it opens a new pop-up that loads my page1.aspx.

If the user clicks a link in the new pop-up (page1.aspx), then the content will be replaced with that of page2.aspx.

What I want: If the user closes the window of my second pop-up that opens page1.aspx or page2.aspx, then refresh PopUp1 (page0.aspx).

How can I do that via jQuery ?

  • 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-30T15:41:29+00:00Added an answer on May 30, 2026 at 3:41 pm

    in page1.aspx and page2.aspx add some javascript to refresh their parent (you don’t need any jquery for this)

    In your markup:

    <body onunload="refreshParent();">
    

    In your javascript:

    var refreshParent = function () {
        if (opener && !opener.closed) {
            opener.location.reload();
        }
    };
    

    Edit: alternatively, if you want to keep your logic seperated from your markup:

    $(window).unload(refreshParent);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a DeleteUser function that gets called when user clicks on the delete
I have a GridView which has a RowCommand event that opens a modalpopupextender on
I have a grid, when user adds new row and is editting it, i
I have a pop-up menu system (ala superfish style) called Yt Mega Menu that
I have a pop-up window in jQuery that fades in, and will fade out
I have a pop up form that i wish to close on successfull submit
I have a pop-up window a user logs into, once they are logged in
I have a pop-up, (what should be modal), dialogue for messages to the user
I have a JavaScript function that is being called multiple times. It appears the
I have a Windows Forms App that loads a dll @ runtime and executes

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.