CSS Error when using jQuery's gt() selector?

Posted by kimka on Stack Overflow See other posts from Stack Overflow or by kimka
Published on 2009-10-22T14:14:17Z Indexed on 2010/04/17 12:53 UTC
Read the original article Hit count: 177

Filed under:
|

I've noticed that Firefox throws me a warning on the following jQuery code:

$("li.example div.code:gt(4)").hide();

CSS Error: Unknown pseudo-class or pseudo-element 'gt'.

According to jQuery, it all should be correct. And it works, but I wonder how to fix this error for cleanness sake.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about css