Answers for "jquery ui sortable disable child"

0

jquery ui sortable disable child

/*
When you instantiate your sortable list, you can assign options, one of
which is elements not to drag on.
*/
$(function() {
    $("#sortable-list").sortable({
        cancel: '#element-not-to-be-dragged'
    });
});
Posted by: Guest on July-06-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language