我想在运行时在 div 上添加可拖动功能。 div s id 是通过以下代码生成的 :
var Exp=0;
view.renderFunction = function(id1){
var id= id1 + Exp++;
$("#"+id).draggable();
};
This is my function where the id is dynamically generated when I drop div. But when I apply the draggable method it can t move. How can I move div?