jQuery sortable swap elements instead insert

后端 未结 1 918
渐次进展
渐次进展 2021-01-07 10:32

I\'m a beginner in jQuery and I can\'t found a solution: I\'m using Sortable with a table. But the default re-ordering method isn\'t good for me: I don\'t want insert the dr

相关标签:
1条回答
  • 2021-01-07 11:05

    This question has a solution for Sortable (see the workaround at the bottom of the question):

    jQuery sortable obtain 2 elements being swapped

    But I think the more elegant solution is the Swappable plugin:

    http://www.eslinstructor.net/demo/swappable/swappable_home.html

    0 讨论(0)
提交回复
热议问题