Solved

Refresh

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Restrict IIS Website without Windows login 7 54
PHP in Apache server 20 92
question about access to website 2 74
Configure a Local PHP Interpreter for Phpstorm 2 246
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

808 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