lookup paging problem on IE & mozilla but not chrome

Oct 27, 2011 at 1:35 PM
Edited Oct 27, 2011 at 1:44 PM

The lookup paging is working perfectly in google chrome but in IE when the more button is clicked it gets the data but does not show..., it gets stopped in jquery.js at 

if ((computedStyle = defaultView.getComputedStyle(elem, null))) {

stating no such interface supported....

Tried in mozilla and the firebug throws error at console:

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


Has anyone come across this problem...



Oct 27, 2011 at 2:37 PM

it works in my IE8 and 9

Oct 27, 2011 at 3:10 PM

your examples work on all browsers, no problem there...

something to do with my code, maybe something not added..

How can I debug this..means how do i find out from which func, jquery is being called which is creating this exception,

this is happening after the method  [modelname]lookup/search is called and data recd.



Oct 27, 2011 at 5:11 PM

found out something else as well..

if (document.defaultView && 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))) {     [This is where error gets thrown elem value is ""]

          ret = computedStyle.getPropertyValue(name);                                            [The value of name is opacity]

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

          ret = jQuery.style(elem, name);         


            return ret;   




But I have not been able to find out the awesome func from where this method in jquery is called , anyone know how to find the order in which js scripts are fired in a page..



Oct 29, 2011 at 3:01 PM

try writing some alerts and you'll find it