When cloning and element, you can pass a boolean value of true to copy
event handlers... what about the data object from jQuery?

console.log($('<div/>').data('foo', 'bar').clone(true).data('foo')); --
> undefined

Reply via email to