SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: JScript Error Message
-
Apr 4, 2001, 14:57 #1
- Join Date
- Oct 1999
- Location
- New York, NY
- Posts
- 826
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi --
I received this snippet of email from a visitor to my web site, and I don't understand exactly what it 'means' or how I could fix it
<< I would like to point out to you that while running IE 4.5 on MacOS 9, I receive a JScript Error stating 'navigator.plugins.length' is not an object. >>
Thanks for any help!
Josh
-
Apr 4, 2001, 17:07 #2
- Join Date
- Jul 1999
- Location
- SC, USA
- Posts
- 390
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hey,
The problem is that IE doesn't support the plugin object under the navigator object. Instead, you'd have to detect plugins with ActiveX. So, when you always see:
Code:navigator.plugins
Code:if(navigator.appName=="Netscape"){ navigator.plugins }
Code:x = navigator.plugins.length;
Code:if(navigator.appName=="Netscape"){ x = navigator.plugins.length; }
aDogModerator at www.javascriptcity.com/forums/
Bookmarks