Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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:


Change History (2)

comment:1 Changed 11 years ago by dmethvin

Resolution: cantfix
Status: newclosed

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.

comment:2 Changed 11 years ago by Wei Lou

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.