Bug Tracker

Opened 7 years ago

Closed 7 years ago

Last modified 7 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:

Description

Change History (2)

comment:1 Changed 7 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 7 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.