How to replicate .sortable and serialize but with Dragula JS?
问题 I'm trying to understand how to replicate this code: $(this).on('submit', '#form', function(event) { var input = $("<input>") .attr("type", "hidden") .attr("name", "token_used") .val($('#right1').sortable('serialize')); console.log($('#right1').sortable('serialize')); $('#form').append($(input)); }); to be used with Dragula JS https://github.com/bevacqua/dragula (in vanilla Java Script) instead. I dont understand how to use dragulaJS for the call .sortable and then serialize. Any suggestion