How to auto apply drag and drop effect to dynamically added element ?
Posted
by Relax
on Stack Overflow
See other posts from Stack Overflow
or by Relax
Published on 2010-04-06T09:48:32Z
Indexed on
2010/04/06
9:53 UTC
Read the original article
Hit count: 417
I use jquery ui to apply a drag and drop effect on a serial of DIVs, for example:
<div class="draggable">...</div>
<div class="draggable">...</div>
<div class="draggable">...</div>
<div class="draggable"> this DIV was dynamically added, not draggable </div>
The problem is dynamically added DIVs won't have this effect applied, how can i apply this effect on new members too?
© Stack Overflow or respective owner