You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.
In original jQuery, $('h1,h2,h3') returns a collection of elements sorted by their location in document.
In phpQuery, ['h1,h2,h3'] launch separated find queries for h1, h2 and h3. So the result collection is sorted by tag name in the find request.
In this case it is unable to quickly build a document's table of contents (headers hierarchy).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In original jQuery,
$('h1,h2,h3')
returns a collection of elements sorted by their location in document.In phpQuery,
['h1,h2,h3']
launch separated find queries for h1, h2 and h3. So the result collection is sorted by tag name in the find request.In this case it is unable to quickly build a document's table of contents (headers hierarchy).
The text was updated successfully, but these errors were encountered: