error in jquery.js in IE and mozilla but not chrome
<p>Firebug console throws the error:</p>

<blockquote>
  <p>uncaught exception: [Exception... "Could not convert JavaScript
  argument arg 0 [nsIDOMViewCSS.getComputedStyle]"  nsresult:
  "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)"  location: "JS frame ::
  <a href="http://localhost:30326/Scripts/jquery-1.6.4.js" rel="nofollow">http://localhost:30326/Scripts/jquery-1.6.4.js</a> :: anonymous :: line
  6570"  data: no]</p>
</blockquote>

<p>in IE the error is coming in line 6570 which is given below:</p>

<pre><code>if ((computedStyle = defaultView.getComputedStyle(elem, null))) {
</code></pre>

<p>The error is "no such interface supported"</p>

<p>I have absolutely no idea about debugging javascript or jquery...</p>

<p>Has anyone seen this error, any ideas why this could happen...</p>

<p>Tx
Arnab</p>

<p>EDIT:
found out something else as well. This is the jquery method..</p>

<pre><code>  if (document.defaultView &amp;&amp; document.defaultView.getComputedStyle) {   

        getComputedStyle = function (elem, name) {         

      var ret, defaultView, computedStyle;
                name = name.replace(rupper, "-$1").toLowerCase();
                if (!(defaultView = elem.ownerDocument.defaultView))

    {                return undefined;       

        }
                if ((computedStyle = defaultView.getComputedStyle(elem, null))) {    
</code></pre>

<p>//  <strong>[This is where error gets thrown elem value is ""]</strong></p>

<pre><code>              ret = computedStyle.getPropertyValue(name); 
                            //               **[The value of name is opacity]**

          if (ret === "" &amp;&amp; !jQuery.contains(elem.ownerDocument.documentElement, elem)) {         

              ret = jQuery.style(elem, name);         

          }       

        }
                return ret;   

        }; 

      }
</code></pre>

<p>But I have not been able to find out from which method of mine, this method in jquery is called , anyone know how to find the order in which js scripts are fired in a page</p>

<p>Solution:</p>

<pre><code>if (elem.wholeText == " " &amp;&amp; name == "opacity") {
                return "1";
            }
      if ((computedStyle = defaultView.getComputedStyle(elem, null)))
</code></pre>

<p>Basically added a code above the line 
if ((computedStyle = defaultView.getComputedStyle(elem, null)))</p>

<p>Thanks to Justin to show the way....</p>
