📅  最后修改于: 2022-03-11 15:03:15.888000             🧑  作者: Mango
/*
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'
});
});