There's not explicit function for that but you could just us '*'. For example:
var something = $('#something');
var children = something.children();
var childrenAndGrandchildren = something.find('*');
I'd hazard a guess that the reason there is no
"childrenAndGrandchildren()" function is that it's not something that
get's used a lot. Usually you're explicilty selecting children (or
grandchildren) based on tags or classes.
Karl Rudd
On 4/24/07, Ariel Jakobovits <[EMAIL PROTECTED]> wrote:
I know this is for Dev, but I have not been approved for that list yet...
parent() - returns one level up
parents() - returns multiple levels up
children() - returns one level down
? - returns multiple levels down
Q: is this a missing feature or is there a reason to not have a function in
place of the '?'