I use jqxTree to view my tree. I want to drag some element and drop on Droppable area.
$(".dragItem").draggable({
revert: "true",
revertDuration: 0,
helper: 'clone',
cancel : 'span',
refreshPositions: true,
containment: "parent"
});
$(".dragItem").css({"position": ""});
$("#log").droppable({
accept: ".dragItem",
drop: function(event){
alert("Dropped");
}
});
Above Code is given in fiddle. Can anyone say why the drag and drop is not working Fiddle
Any ideas or suggestions will be helpful.