Reputation: 56199
How to get id of current draggable and resizable ? I have like
$('.demo')
.resizable({
start:function(event,ui){
$(ui).item.attr('id);
}
})
.draggable({
start:function(event,ui){
$(ui).item.attr('id);
}
});
but it returns undefined. Does anyone know solution ?
Upvotes: 1
Views: 54