S
Sandeep
The following piece of javascript code below works fine in
IE 6.0 on the Windows 2000 server but not on the Windows
XP 2002 SP2
var win = window.open('',targetKey,str);
if (isIE()) {
while ( transfer ) {
if (!win || win.closed || (win.document
&& win.document.forms[0]) ) {
transfer = false;
}
}
}
The above code on XP SP2 throws a javascript error
stating "DO you wish to debug". When we debug we see that
the value of the variable "win" is "undefined" in IF LOOP.
I tried to check the following link about similar problem
http://www.microsoft.com/technet/prodtechnol/winxppro/maint
ain/sp2brows.mspx#EFAA
I have put following fix
var winStandIn = window.open('',targetKey,str);
var win = winStandIn;
win = winStandIn;
if (isIE()) {
while ( transfer ) {
if ( !win || win.closed ||
(win.document && win.document.forms[0]) ) {
transfer = false;
}
}
}
I still see the same problem.
Any pointers on this would be appreciated.
Thanks,
Sandeep
IE 6.0 on the Windows 2000 server but not on the Windows
XP 2002 SP2
var win = window.open('',targetKey,str);
if (isIE()) {
while ( transfer ) {
if (!win || win.closed || (win.document
&& win.document.forms[0]) ) {
transfer = false;
}
}
}
The above code on XP SP2 throws a javascript error
stating "DO you wish to debug". When we debug we see that
the value of the variable "win" is "undefined" in IF LOOP.
I tried to check the following link about similar problem
http://www.microsoft.com/technet/prodtechnol/winxppro/maint
ain/sp2brows.mspx#EFAA
I have put following fix
var winStandIn = window.open('',targetKey,str);
var win = winStandIn;
win = winStandIn;
if (isIE()) {
while ( transfer ) {
if ( !win || win.closed ||
(win.document && win.document.forms[0]) ) {
transfer = false;
}
}
}
I still see the same problem.
Any pointers on this would be appreciated.
Thanks,
Sandeep