Opened 10 years ago
Closed 10 years ago
#13869 closed bug (notabug)
Can't call before() method with static markup more than once
Reported by: | jojo | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Please see the following Fiddle:
If you comment out the second before() call, everything works fine. Also replacing the before() method with the after() method works.
May be related to this, alreday closed, bug (wasn't able to reopen it): http://bugs.jquery.com/ticket/5142
Note: See
TracTickets for help on using
tickets.
We only fix bugs in the latest version. For that specific case, it is no longer valid to use
.before()
on a disconnected set of nodes. http://jquery.com/upgrade-guide/1.9/#after-before-and-replacewith-with-disconnected-nodes