2
所以我使用的UI库,和我有类似:jQuery的 - 引用jQuery对象
$('#trash-bin').droppable({
tolerance: 'touch',
drop: function(event, ui) {
alert(ui.draggable.id + " was dropped");
}
});
$('#images').draggable({});
我知道是错的(提醒说,“未定义下降”)
如何我可以参考丢弃的图像ID吗?