Mate, you should read the entire page in the documentation:
All callbacks receive two arguments: the source browser event and the prepared ui object, see below for documentation of this object (if you call your second argument “ui”):
- ui.draggable - current drag and drop item, jQuery object.
- ui.helper - current draggable helper, jQuery object
- ui.position - the current position of the dragging helper {top :, left:}
- ui.offset - current absolute position of the dragging helper {top :, left:}
droppable jQuery manual
$(".portletPlaceHolder").droppable({
drop: function (evt, ui) {
var offset = ui.offset;
console.log(offset.left + "x" + offset.top);
}
});