Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script gives error on IE6/SP1

Status
Not open for further replies.

tvbruwae

Programmer
Aug 9, 2001
224
EU
Hi

Some time ago I wrote an intranet application that has always been working under IE5 and IE6. However, when accessed from an IE6/SP1 browser, I get the following error :

Type mismatch: '[string: "[object]"]'
Code: 0

This is the code executed around line 252 :

'Handle for Wait screen
Dim waitHandle
'Function that opens a "Please Wait" window
function myWait()
set waitHandle = window.open("Wait.htm","Wait", ...)
if not waitHandle.opener then
set waitHandle.opener = self
end if
waitHandle.focus()
end function

Line 252 is the one containing the "IF"-clause. Can anyone tell what is wrong with this code, or why SP1 is now messing up the script?

Thanks!

Tim
 
Sorry, forgot to mention that the error is reported to be on line 252, character 5...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top