jQuery: Selector confusion
        Posted  
        
            by JamesBrownIsDead
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by JamesBrownIsDead
        
        
        
        Published on 2010-05-04T01:07:46Z
        Indexed on 
            2010/05/04
            1:18 UTC
        
        
        Read the original article
        Hit count: 357
        
What is wrong with this jQuery selector?
$("#masterHeaderMenu.masterHeaderMenuButton a:first")
I'm intending to select the first anchor tag that is a child of an element whose class is "masterHeaderMenuButton", itself a child of the element with an "id" attribute value of "masterHeaderMenu".
Can't I do this in jQuery?
© Stack Overflow or respective owner