hey all,

I initially posted this on the developer forum, but not sure if that
was the best place for it so reposting here.

I've got an issue with jQuery in IE7.  It is throwing the following
error:

Line: 2355
Error: Object doesn't support this property or method

Looking at jquery source (v1.2.6), on that line is the Opera condition
for the bindReady() event, ie:

        if ( jQuery.browser.opera )
                document.addEventListener( "DOMContentLoaded",
function () {
                        if (jQuery.isReady) return;
                        for (var i = 0; i <
document.styleSheets.length; i++)
                                if (document.styleSheets[i].disabled)
{
                                        setTimeout( arguments.callee,
0 );
                                        return;
                                }
                        // and execute any waiting functions
                        jQuery.ready();
                }, false);

If i comment out this block of code, all works fine (even in opera).

is this a known bug?  is there a workaround (besides what i've done)??

thanks heaps
greg

Reply via email to