Will the .parents() method always return in hierarchical order? Say I
have:

<ol id="outer">
  <li>
    <ol id="inner">
      <li>
        <a id="target"/>
      </li>
    </ol>
  </li>
</ol>

If I do $("#target").parents("ol").eq(0), will I *always* get #inner,
or is the order of the resulting jQuery matched elements arbitrary?

~Jason

Reply via email to