Struggling with jquery ui sortable and tabs (would like to move items around tabs)

后端 未结 2 1404
野的像风
野的像风 2021-01-28 12:50

Documentation on this subject was quite clear: http://jqueryui.com/sortable/#connect-lists-through-tabs

I tried to do the same in my project, but I cannot get element to

2条回答
  •  一整个雨季
    2021-01-28 13:43

    Jamie's answer led me to my own solution:

    var $list = $($item.find("a").attr("href"));
    

    instead of:

    var $list = $($item.find("a").attr("href")).find(".word-list");
    

    Without changing markup!

提交回复
热议问题