how to move a Dropped object using jquery?
I am designing an web application where I need to move the dropped object also.but once i drop an object it becomes fixed in the position where it is dropped.my codes for dropping the object are as follows:
$( "#droppable" ).droppable({
drop: function( event, ui ) {
document.getElementById('droppable').innerHTML = "test";
$("#droppable").css('background-image', 'url(' + $(ui.draggable).attr("src") + ')');
}
});
Can anyone please suggest me some solution for this?