troubleshooting Question

parent window reload?

Avatar of pigmentarts
pigmentartsFlag for United Kingdom of Great Britain and Northern Ireland asked on
JavaScriptHTMLScripting Languages
3 Comments1 Solution833 ViewsLast Modified:
I have a link on a page which options up a new window, once done the user closes the new window and i would like to reload (refresh) the parent window. i have the following but still not joy

product.cfm page ---------------------------------

<script language="javascript" type="text/javascript">
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
// -->

<a href="assign-options.cfm" onclick="NewWindow(this.href,'mywin','400','400','no','center');return false" onfocus="this.blur()">YourLinkText</a>


window that opens up  assign-options.cfm

 <a href="#"  onclick="parent.location.reload(true);window.close();">close</a>

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros