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 6571277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:51:41+00:00 2026-05-25T14:51:41+00:00

I am using the latest and greatest version of jQuery. When this button is

  • 0

I am using the latest and greatest version of jQuery.

When this button is clicked:

<input id="ShowImages" class="" type="button" value="images">

This function:

$("#ShowImages").click(function() {
    $("#MusicianImagesDiv").load("MusicianImages.cfm?MusicianID="+MusicianID);
});

Loads a page into this div:

<div id="MusicianImagesDiv" class=""></div>

In that div, when this button is clicked:

<input id="MusicianImageUploader" type="button" value="launch image uploader">

This function pops up a window:

$("#MusicianImageUploader").click(function() {
    MyURL = "GlobalAdmin/MusicianUploader.cfm?MusicianID=" + MusicianID;
    window.open (MyURL, "mywindow","location=0");
});

When the “close window” button in the pop up window is pressed:

<input id="CloseButton" type="button" value="close this window">

I want to reload A SPECIFIC DIV // not the parent page

$('#CloseButton').click(function() {
    // to be clear, this code is in the pop up window
    // the MusicianImagesDiv div is in the parent window
    $("#MusicianImagesDiv").load("MusicianImages.cfm?MusicianID="+MusicianID);
});

And then close the pop up window.

Everything works perfectly except for reloading the div when the close button is clicked.

What am I doing wrong? Why does the close button not tell reload the div?

Here’s the tweaked code that works flawlessly!!!

$('#CloseButton').click(function() {
    var MusicianID = $("#MusicianID").val();
    var LoadPage = "GlobalAdmin/MusicianImages.cfm?MusicianID=" + MusicianID;
    window.opener.$("#MusicianImagesDiv").load(LoadPage);
    window.close();
});
  • 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-25T14:51:42+00:00Added an answer on May 25, 2026 at 2:51 pm

    Have you tried accessing window.opener ? This gives you access to the parent window. So roughly the code would be

    $('#CloseButton').click(function() {
        window.opener.$("#MusicianImagesDiv")
                     .load("MusicianImages.cfm? MusicianID="+MusicianID);
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using latest Jquery and the following script: <script type=text/javascript> $(document).ready(function(){ var el
I am using the latest and greatest jQuery. I have a form with three
I am using the latest and greatest jQuery. I am trying to make my
I am using ColdFusion 9 and the latest and greatest jQuery. At the top
Using the latest version of Resharper (4.5.x) with VS2008. Every now and then (pretty
I'm using XAMPP (latest version) on OS 10.6.2, that's bundled with PHP 5.3.0 I
Hello i am using the latest version of artoolkit, and succesfully compiled simplevrml, but
Ok, so the title is a bit convoluted. This is basically a greatest-n-per-group type
I'm trying to get the font-weight of a property using latest jquery, doesn't work
Im using latest TCPDF version(5.9). But have some strange problems with encoding. I need

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.