Solved

Refresh

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

What You Need to Know when Searching for a Webhost Provider
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
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 …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

617 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