順序を取得する方法は理解していますが、必要なときにアクションの前に要素を前の位置に戻す方法がわかりません。
アドバイスをください、どうもありがとうございました。
el.sortable({
start: function(){ var order = etc //Got current order here// },
update: function(){
//Process and etc//
if(cancel) {
//how can I put the element back to the position before??
}
},
});