-
Notifications
You must be signed in to change notification settings - Fork 264
Clarify .prev #861
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Good clarification. Also applies to |
Definitely worth a note. @jcuenod would you like to submit a PR? |
Regarding the notes entry, I'm happy to do it if people agree but if it's only @dmethvin I think when it comes to |
@jcuenod I see your point. The main confusion seems to be with |
I'll take a look at this tonight @dmethvin. Thank you for the ping. |
I the
.prev
docs the description isI took this to mean that, given a selector,
.prev
would traverse back through sibling elements until it found one matching that selector. See also http://stackoverflow.com/questions/5452917/jquery-prevselector-not-working.In the
.next
docs, however, it is far more clear:The text was updated successfully, but these errors were encountered: