Bug Tracker

Modify

Ticket #12014 (closed bug: cantfix)

Opened 11 months ago

Last modified 11 months ago

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:
Blocking: Blocked by:

Description

Change History

comment:1 Changed 11 months ago by dmethvin

  • Status changed from new to closed
  • Resolution set to cantfix

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 months 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).

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.