tags:

views:

44

answers:

2

how to drag and drop multiple divs using jquery ui?any option to accept a array of divs?

A: 

$(".divclass").draggable();

Will make anything with the class, "divclass" draggable

Alex
A: 

you make in every div a class for example:

<div id="1st" class="go">
<div id="2nd" class="go">
<div id="3rd" class="go">

then

$('.go').draggable();
klox
i am able to drag only last element using this method
have you made the div like my mine?
klox