Hmm, that sounds like a bug. Could you file one, please?
http://dev.jquery.com/newticket

--John


On Wed, Aug 5, 2009 at 8:40 AM, Ant <anthony.johns...@antix.co.uk> wrote:

>
> Hiya,
>
> When you look at the returned elements when using parents() you get
> the reverse 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")
>
> Is there a reason for this?
> Ant
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to