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: 220
        
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