Solved

Refresh

Posted on 2001-06-04
2
144 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
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now