Solved

Refresh

Posted on 2001-06-04
2
186 Views
Last Modified: 2013-12-24
Can ayone help with the following problem...
I am using the following code to close a popup window:

<a href="" onclick="window.close(); return false;" style="color:black">Display Results</a>    

I want to refresh the Main window when the popup is closed.
0
Comment
Question by:nido
[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
2 Comments
 
LVL 5

Expert Comment

by:Yog
ID: 6153754
<script>
function doit() {
window.close()
}
</script>

<a href="javascript:doit()" style="color:black">Display Results</a>    

cheers.
0
 
LVL 9

Accepted Solution

by:
msdixon earned 40 total points
ID: 6153759
try this,

<a href="" onclick="window.close(); window.opener.location='originalLocation.html'; return false;" style="color:black">Display Results</a>
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
What You Need to Know when Searching for a Webhost Provider
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

734 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