This generally indicates that a bad variable type was passed to jQuery - for
example passing an object as an argument to a method when it's expecting a
string.
-- Josh
----- Original Message -----
From: "cloudsteph" <[EMAIL PROTECTED]>
To: "jQuery (English)" <jquery-en@googlegroups.com>
Sent: Monday, January 28, 2008 6:26 AM
Subject: [jQuery] Error - getComputedStyle?
A JS novice having trouble with JQuery validating in all browsers I'm
testing in [FF2, IE7, IE7, Safari 3] and I don't know how to get
around it. Error causes a debug popup to appear in IE6, otherwise I
could live without having the JS validate.
Error is as follows:
uncaught exception: [Exception... "Could not convert JavaScript
argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)"
location: "JS frame ::
file:///Y:/IGS/Programming/Site/www/templates/js/jquery-1.2.2.js
:: anonymous :: line 853" data: no]
Line 0
I'm running JQuery 1.2.2. Line 853 that supposedly is throwing the
error is as follows:
var getComputedStyle = document.defaultView.getComputedStyle( elem,
null );
Had a root through the JQuery site and haven't seen this bug
mentioned.
Any solutions anyone?????
Thanks.