Working with JQueryUI draggable, I am interested in applying styling to the draggable element while it is being dragged. Various attempts have been made using code like this:
$(".ui-widget-content").draggable({
drag: function(event, ui) {
$(this).css("width", "50px");
});
Unfortunately, these efforts have been unsuccessful, leading me to believe that I am missing a way to access the draggable element from the ui object. What key detail might I be overlooking?