【发布时间】:2021-10-31 00:57:16
【问题描述】:
我正在尝试使用 jstree 拖放功能。此功能工作正常,但鼠标指针不删除文本。它显示带有选定文本的指针。 我的问题是,如何用鼠标指针删除文本?
<select id="tableList" name="tableList" size="25" style="width: 223px;height:60px;"></select>
$(document).on('dnd_stop.vakata', function (e, data) {
var newOption = $('<option class="list-group-item" value="'+data.data.nodes+',">'+data.data.nodes+'</option>');
$('#tableList').append(newOption);
});
【问题讨论】:
标签: drag-and-drop jstree jstree-dnd