This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Demo: Draggable, Sortable and Droppable
Demos > Draggable, Sortable and Droppable
First Last
Drop here!
Source
<div class="droppable" id="persons">
<div class="item"><span class="first">First</span> <span class="last">Last</span></div>
</div>
<div id="drop">
Drop here!
</div>
$('#persons')
.items([
{first:'Isaac', last:'Newton'},
{first:'Johannes', last:'Keppler'},
{first:'Alessandro', last:'Volta'},
{first:'Blaise', last:'Pascal'}
])
.sortable()
.chain();
$('#drop').droppable({
accept: 'droppable',
drop:function(droppable, item){
var data = item.item();
this.append('<br/>'+data.first+' '+data.last);
}
});






