If I am using this function to make an element draggable using jQuery ui draggable:
$(document).ready(function() {
$("#draggableSquare").draggable();
});
How can I access the co-ordinates of the element as it's moved around?
If I am using this function to make an element draggable using jQuery ui draggable:
$(document).ready(function() {
$("#draggableSquare").draggable();
});
How can I access the co-ordinates of the element as it's moved around?