jQuery: The Write Less, Do More JavaScript Library

 « Return to Thread: Selector :eq(x) issuing warning in FF

Selector :eq(x) issuing warning in FF

by Shane Riley :: Rate this Message:

Reply to Author | View in Thread


When calling this jQuery:

$("#homepage-slides img:eq(0)").fadeOut(300, function() {
        $("#homepage-slides img:eq(1)").fadeIn(300, function() { $("#homepage-
slides img:eq(0)").remove(); });
});

I'm getting this warning in the Web Developer toolbar in Firefox:

Warning: Unknown pseudo-class or pseudo-element 'eq'.

It seems to work, however the image preload function I'm calling just
before it isn't functioning and I'm thinking it's because of this
issue. I'm using jQuery 1.3.2. Is there a different syntax to do this
now? If so, then the docs demo is incorrect.

 « Return to Thread: Selector :eq(x) issuing warning in FF