As per the jQuery docs below code can be used to capture mouseup and mouse down events. But my requirement is bit different
$("#dic").mouseup(function () {
}).mousedown(function () {
});
But How can I calculate mouse moving co-ordinates between mousedown position to mouseup position. Please help me on this. How can I apply mousemove event between mousedown and mouseup