当我把一个<div>放到一个容器上时,我想移除它的drag属性。但是对于下面的代码,我得到了一个错误"Property 'draggable' of object #<Object> is not a function"。$( "#fighter1" ).draggable(); //fighter1 is the id of draggable object
$( "#fi
TypeError: ui.draggable is not a functionui.draggable({ containment: 'body'}); function handleDropbox(event, ui) {
$(this).append(ui.draggable); // put this firstui.