jQuery ConnectedSortable Double Click
I have two lists connected with connectedSortable in jQuery UI but I want to add a feature of the ability to double click on an item and have it move to the other list but I don't really kno开发者_如何学Cw how to go about it.
$j('#list-one li').dblclick(function() {
var litem = $j(this).clone();
litem.appendTo($j('#list-two'));
$j(this).remove();
});
Ended up with something like this
精彩评论