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?
You cannot use the .live() function with .draggable() directly, but you can use .live() with the mouseover event and re-attach .draggable() on mouseover like this.