Hey All,

What's a better way to write:

$(this).children('ul').children('li').children('a').each(function() {
        // Stuff here...
});

I tried:

$(this).children('ul > li > a').each(function() {
        // Stuff here...
});

But its not returning the correct results.

Im sure this is easy, could someone point me in the right direction?

Cheers,
Dana

Reply via email to