Side navigation
#13870 closed bug (notabug)
Opened May 08, 2013 01:52PM UTC
Closed May 08, 2013 02:48PM UTC
How next() works
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In the help http://api.jquery.com/next/ it is not clear, what is returned when the next sibling does not match the selector passed as next() argument: the next of the next or the empty set.
Attachments (0)
Change History (1)
Changed May 08, 2013 02:48PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
Sorry, I'm confused about the confusion.
It retrieves the next sibling, optionally filtered by a selector.
Still, if there is a better way to word that, the best place for issues like these is at https://github.com/jquery/api.jquery.com/issues.