Click to See Complete Forum and Search --> : JScript question: JScript runtime error


mkoleno346
12-07-2003, 11:51 PM
I am working with a 3rd party JScript page and I getting a Microsoft JScript runtime error. "Microsoft JScript runtime error: Object expected was not handled." I am getting this error when looking at the code in Visual Studio. I am not a JScript programmer so I have little idea of what can cause this error.

Here is the JScript code that it is failing on. Any idea what change with this snippet of code? What does this error typicaly signify? Please let me know. Thanks in advance.


<!-- ### This next line of code (if (chkBrowser()...) is where I get this error message
if (chkBrowser()=='nav406up')
document.write('<APPLET CODE="iSetupApplet.class" NAME="SetupPlayer" ARCHIVE="isapplet.jar" CODEBASE="http://www.installengine.com/applet"> <PARAM Name="iSetupVer" Value="6,22,100,1438"></APPLET>')
-->

Gollum
12-08-2003, 02:37 AM
The most likely cause that I can think of is the chkBrowser function. Are you sure it is defined on your page?