The object that i must drag can also be moved by the event of the keyboard (key up , down , left and top)
In the drag event of any object i have a function that do something , and when the object is moved by the keyboard i must call the drag stop event
All of this solutions doesn't work
Jquery .trigger('stop') method for .draggable
$("#obj").draggable().trigger("dragstop");
$("#obj").trigger("dragstop");
How would you use Trigger to fire the jquery draggable start, drag, stop events?
var s = [{ClientX:0, ClientY:0, target:""},{}];
$("#obj").draggable("option" , "stop").apply($("#obj") , s);