?
Solved

Reload after Popup Window

Posted on 2011-03-03
1
Medium Priority
?
390 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 2000 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

777 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