javascript - Clone div to have all event like original div -


i wondering why cloned div not on click. when original div clicked gets active on click, clone of same div not active after drag , drop.

is there way can add click event listeners cloned item same original div.???

javascript:

i want attach event listener div having id "id3" being cloned. thanks

use clone(true). 'true' parameter keeps events attached element being cloned.


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -