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

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -