list - jquery sortable adding element -


i using jquery sortable drag , drop elements 1 list another. move elements 1 list another. looking functionality adds element second list when drag first list. after dragging element should in both list. suggestions ?

like in fiddle, set helper 'clone'.

js

$('.dragme div').draggable({                             axis: 'y',                             helper: 'clone',                             opacity: '0.5' }); $('.dropme').droppable({     accept: '.dragme div',     drop: function(event, ui) {             $(this).append($(ui.draggable).clone());     }  }); 

Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -