Re: [jQuery] ancestors, parent and parents

2006-09-04 Thread Yehuda Katz
Parent is the direct parent of the node(s). Ancestors and parents are any parents, no matter how high up in hierarchy.On 9/4/06, Sam Collett [EMAIL PROTECTED] wrote:What is the difference between these three? ancestors and parents look like they are the same, but how is parent different?

Re: [jQuery] ancestors, parent and parents

2006-09-04 Thread Sam Collett
On 04/09/06, Yehuda Katz [EMAIL PROTECTED] wrote: Parent is the direct parent of the node(s). Ancestors and parents are any parents, no matter how high up in hierarchy.I do think it would be better if parents wasn't there though (if it is the same as ancestors). Why would you have two functions