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
Solved

Reload after Popup Window

Posted on 2011-03-03
1
377 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create animated movies for web page 18 85
Which non-HTML GUI front end to use with Java? 3 24
Else condition 9 23
Html Table Looping (part 2) 5 27
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
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 …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

856 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