@Jon's answer is correct. The solution is just simply try attr
method, without trying to inspect the draggable element beforehand ( otherwise you will be puzzled).
given a html element declared as jQuery UI's 'draggable':
<img src='some/path/for/this/image' class='draggable_img' title='I am an image!' />
and given this 'div' as droppable:
<div id='droppable_area'> </div>
<script>
$('img.candidate_thumbnail').droppable({
drop: function(event, ui) {
console.info('ui.draggable.title:' + ui.draggable.title);
console.info('ui.draggable.attr("title"):' + ui.draggable.attr('title'));
console.dir('ui.draggable:' + ui.draggable);
}
</script>
And I got :
ui.draggable.title: undefined
ui.draggable.attr("title"): I am an image!
ui.draggable: [object Object]
-> No Properties