Reputation: 34152
I have 9 DIVs that i apply draggable to all of them. now i want to make them all move in the same pattern when one of them is dragged (as if i'm dragging all of them)
$(".draggable").draggable({
drag: function(event,ui){
//i don't know what to write here, as i don't know what event and ui are.
// an .each will solve the problem if i get to know what these 2 arguments are
}
});
Upvotes: 0
Views: 470
Reputation: 25280
if you want to drag multi divs but not all the container you can have a look here.
Upvotes: 1