[jQuery] visual docs for parents ()
seem to be incorrect:
Get a set of elements containing the unique ancestors of the matched set
of elements.
Examples
Before:
<html><body><div><span>Hello</span>
<span>Hello
Again</span></div></body></html>
jQuery Code:
$("span").ancestors()
Result:
[ <body>...</body>, <div>...</div>, <span>Hello</span>
]
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/