Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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'
    });
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #ui #sortable #disable #child
ADD COMMENT
Topic
Name
8+2 =