> 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 that do the same thing?
The main reason is that not everyone comes from an XPath/XML
background - it's the same reason why there's .find() and not
.descendants(). It'
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 t
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?
_
What is the difference between these three?ancestors and parents look like they are the same, but how is parent different?
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/