[thelist] self.close() and IE 5.1 MAC

Phil Essing essing at vdl2.ca
Fri Dec 13 10:23:00 CST 2002


Ok, I seem to have found a solution to what is IMO stilla bug on the
part of IE 5.1 MAC.

The solution involves adding a return false immediately after the
function call, or after self.close() in a function.

For example:

onsubmit="myFunction(); return false;" // myFunction ends with a
self.close()

Or

function myFunction() {
	...
	self.close();
	return false;
}

Either of these solutions seem to work.

Cheers!

-phil

------------------------------------------------------------------------
-----------------
Phil Essing
User Interface Specialist
essing at vdl2.com

VDL2 inc.
700, rue Wellington  .  Montreal, QC  .  H3C 1T4
tel.: 514.599.5712  .  fax: 514.599.5724
------------------------------------------------------------------------
-----------------


> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org] On Behalf Of Benjer
> Sent: Friday, December 13, 2002 9:21 AM
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] self.close() and IE 5.1 MAC
>
>
> an onsubmit event fails to close the popup window in IE 5.1 Mac, only.
>
>
> OSX IE 5.2 fails too...
>
> some options here:
> http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q
_20066690.html

timeout didnt work when i tried that though....


--
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

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





More information about the thelist mailing list