Is there a jquery plugin for dragging html cells in nature? so that in the future they can be saved in the base of new values ​​of positions.

    1 answer 1

    There is such a jQuery UI plugin. It is possible to make sorting lists:

    https://jqueryui.com/sortable/

    What remains to be done is to catch the update event ( link to the API ), and write an event handler that will write changes to the database:

     $( ".selector tbody" ).sortable({ update: function( event, ui ) { //здесь код отправки изменений в базу данных } }); 

    Nb. To sort the tables you need to call the plugin from tbody