$(".point").each(function() { $(this).draggable({ containment: '.map', opacity: 0.5, stop: function(e,ui) { alert(ui.position.left +', '+ ui.position.top +', '+ $('.point').attr('title')); } }); });