[thelist] refesh parent window with javascript....

SP internetracer at yifan.net
Fri Jun 28 13:27:01 CDT 2002

try this

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of darren
Sent: June 28, 2002 10:20 AM
To: thelist
Subject: [thelist] refesh parent window with javascript....

afternoon all....

i'm trying to get a popup window to refresh the parent window on
closing.  it works in mozilla, but not ie6!  anyone know why??

i'm using the following js function to open the window:

   var openWin;

   function winOpen(href, target, width, height) {
      if (openWin && !openWin.closed) {
      openWin = window.open(href, target, 'width=' + width + ',height=' +

called from a link like:

   <a href="popup.aspx" target="detail" onclick="winOpen(this.href,
this.target, 650, 300); return false;">detail</a>

then in popup.aspx i have a function that's called after everything's

   function cancelPay() {

in ie i get an 'opener.location is null or not an object' type error.

anyone any ideas??



For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !

More information about the thelist mailing list