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?