Side navigation
#5016 closed bug (worksforme)
Opened August 05, 2009 07:06PM UTC
Closed November 18, 2010 03:24AM UTC
parents() order different when selector added
Reported by: | antix | Owned by: | john |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | selector | Version: | 1.3.2 |
Keywords: | parents, selector | Cc: | |
Blocked by: | Blocking: |
Description
When you look at the returned elements when using parents() you get
the order as expected and documented
http://docs.jquery.com/Traversing/parents#expr
but when you add a selector, the order reverses
var parentEls = $("b").parents("span,p")
Attachments (0)
Change History (1)
Changed November 18, 2010 03:24AM UTC by comment:1
resolution: | → worksforme |
---|---|
status: | new → closed |
http://jsfiddle.net/dmethvin/RU6Wc/