[jQuery] selecting children
Hi,
my question is, why next line doesn't work:
$("#conditions-"+get_sufix(type)+" >
div,tr,span,label,select,input").each(function(){...});
nor next line:
$("#conditions-"+get_sufix(type)+"
div,tr,span,label,select,input").each(function(){...});
nor next line:
$("#conditions-"+get_sufix(type)).children
("div,tr,span,label,select,input").each(function(){...});
and next line does work:
$("#conditions-"+get_sufix(type)).find
("div,tr,span,label,select,input").each(function(){...});
for searching child nodes from a given node at any depth?
find is implemented for working at any level and children and ">" only
for the first level?
Thanks