[thelist] JavaScript - closing parent window

Steve Cook sck at biljettpoolen.se
Wed Dec 20 05:28:43 CST 2000


Hi folks,

hopefully a quickie JavaScript question! If I open a pop-up window, how do I
both close that window and update the parent window at the same time. I'm
trying variation on this:

<a href="#"
onClick="parent.inside.location='motesbokning.asp?IDNum=1&for=Company+A';win
dow.close();">Close</a>

(inside is the name of the frame I want to update in the parent).

Any ideas?

.steve
----------------------------------
   WapWarp - http://wapwarp.com
 Wap-Dev - http://www.wap-dev.net
 Cookstour - http://cookstour.org
----------------------------------




More information about the thelist mailing list