[jQuery] Performance of "parent > child" selector vs .children() method
Essentially, I'd like to know if there is any difference between
$("div.grandparent > div.parent > div.child")
and
$("div.grandparent").children("div.parent").children("div.child")
Does anyone know which of these is more performant or preferred when
selecting child nodes?
Thanks.