Solved

Reload after Popup Window

Posted on 2011-03-03
1
383 Views
Last Modified: 2012-05-11
I have a webpage that makes playlists and I have the playlist page popup a page that allows me to add playlist.  When I finish, I want to click Finished and when the screen returns to the screen that activated the popup, I would like it to do a refresh to load the playlist just created.  All of it works except for the ability to reload.  

Does anyone know how I can do this?

    <div id="GAPLD">
      <label>
        <input type="button" name="GAPL" id="GAPL" value="Add" onClick="newPopup('./APL.php')";/>
      </label>
    </div>
<script type="text/javascript">
    // Popup window code
    function newPopup(url) {
        popupWindow = window.open(url,'popUpWindow','height=110,width=400,left=400,top=300,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=no')
    }
</script>
0
Comment
Question by:corterp
[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
1 Comment
 
LVL 14

Accepted Solution

by:
robasta earned 500 total points
ID: 35033900
do this on the popup window:
<input type="button" value="Close this window" onclick="opener.location.reload(); self.close();">

Open in new window



also see here for more info http://www.java2s.com/Tutorial/JavaScript/0380__Window/windowopener.htm
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

689 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