#12053 closed bug (duplicate)
null pointer exception in .next() / .sibling()
Reported by: | creativecouple | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8b1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When using .next() on a last child you get an exception instead of the empty selection.
Minimal example: $('<p>').next();
jquery-1.8b1.js:5448 - Uncaught TypeError: Cannot read property 'nodeType' of null
Change History (2)
comment:1 Changed 11 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
Note: See
TracTickets for help on using
tickets.
Duplicate of #11969.