jQuery-1.2.1 rise a error type [Failed] in #943 line on IE 6:

#935    merge: function(first, second) {
#936            // We have to loop this way because IE & Opera overwrite the
length
#937            // expando of getElementsByTagName
#938
#939            // Also, we need to make sure that the correct elements are
being returned
#940            // (IE returns comment nodes in a '*' query)
#941            if ( jQuery.browser.msie ) {
#942                    for ( var i = 0; second[i]; i++ )
#943                            if ( second[i].nodeType != 8 )
#944                                    first.push(second[i]);


In this line
if ( second[i].nodeType != 8 )
my IE 6 return follow erro:

---------------------------
Erro
---------------------------
Runtime error.
Debug it?

Line: 943
Erro: Failed
---------------------------
Yes   No
---------------------------


And all this cause by that follow js call:
jQuery(".inputcorner");


The inputcorner is class selector and it has a css display none.

What happen there?

Reply via email to