Reuse cached selector inside a child selector
        Posted  
        
            by macca1
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by macca1
        
        
        
        Published on 2010-03-19T16:50:17Z
        Indexed on 
            2010/03/19
            16:51 UTC
        
        
        Read the original article
        Hit count: 548
        
var $container = $('div#myContainer');
var $panels = $('div#myContainer > div');
Is it possible to reuse the selector I've already cached in $container within the next child selector?
© Stack Overflow or respective owner