jQuery: The Write Less, Do More JavaScript Library

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

Re: Selector :eq(x) issuing warning in FF

by Maujor :: Rate this Message:

Reply to Author | View in Thread

I run a local test with your code here and it works fine!
Maurício
-----Mensagem Original-----
Enviada em: quinta-feira, 2 de julho de 2009 13:12
Assunto: [jQuery] Selector :eq(x) issuing warning in FF


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.
Maurício Samy Silva

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