[Javascript] javascript problem

Bill Marriott bill.marriott at optusnet.com.au
Fri Jul 6 00:57:31 CDT 2001


Hi again,

The following script works in IE 5.5 but creates an error in  IE 5.
************************************************
function ClosePop()
{
   if (ReportPick && !ReportPick.closed)
    {
       ReportPick.close();
    }
   if (cropcheckHelp && !cropcheckHelp.closed)
  { 
     cropcheckHelp.close(); 
    }        
} //End of function
**************************************************
It works in IE 5 , if I only want to check one popup, (ie one if statement)
but not if there are 2.

Can anyone see what I have done wrong?

Bill







More information about the Javascript mailing list