Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Bug in IE6


Message #1 by "vinod" <vthomas@a...> on Mon, 7 Jan 2002 21:50:38
I have a  problem when I access the page in IE6. This worked fine with 
previous versions of IE. I might better show part of the code, so that it 
will be easier to understand

var wPopupNavigate;

function showPopupNavigate(sEmplID, sBalDate) {
//Display the window, and fill it with html elements.
var sHTML;
var d;
var sOpenParm;
var dBalDate = new Date(sBalDate);	
var arRole;
var x;
var y;
var nWinHeight = 325;

	//Make sure it only displays once
	if (wPopupNavigate) { ** error when trying to check the 
wPopupNavigate variable **
	alert(sEmplID);
		if (!wPopupNavigate.closed) { 
			wPopupNavigate.close();
		}
	}

My error logger says the object is undefined and breakd here
This code worked worked fine with all the previous versions of IE and 
latest version of Netscape. Please help

Thanks
Vinod Thomas

  Return to Index