-1

並べ替え可能な要素の場合は、 を使用しますui.item.index()。ドラッグ可能な要素に相当するものはありますか?

$('.elem').draggable({
  start: function(event, ui){
    //How do I get the "index" of ui.item?
  }
});
4

1 に答える 1