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

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

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

google shop client API returns 400 bad request error while adding an item -