#12014 closed bug (cantfix)
jQuery's clone method doesn't clone events bound via addEventListener method
Reported by: | Wei Lou | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
See example: http://jsfiddle.net/yvguq
Change History (2)
comment:1 Changed 11 years ago by
Resolution: | → cantfix |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
So jQuery is precisely designed to work in this way? If so, I think it's necessary to note this in jQuery's clone method document (http://api.jquery.com/clone).
Note: See
TracTickets for help on using
tickets.
Yep, use jQuery's event system if you also want to use jQuery's manipulation, so jQuery can track and copy the events for you.