How to get id of current draggable and resizable?
<p>How to get id of current draggable and resizable ?
I have like </p>

<pre><code>$('.demo')
.resizable({
start:function(event,ui){
$(ui).item.attr('id);
}

})
.draggable({
start:function(event,ui){
$(ui).item.attr('id);
}
});
</code></pre>

<p>but it returns undefined. Does anyone know solution ?</p>
