The short answer is yes
$('div').draggable();
Would do the trick. Of course you might want to use a class Name and use
that in you jquery selector
Joe
On Nov 11, 2009 12:56 PM, "sk" <[email protected]> wrote:
Hello,
I have many divs on my page. Currently I do loop through them to make
them draggable. I also add a custom data field to the draggable item.
The "data" is unique for each div.
Is it possible to make all of them draggable in one shot, without
having me to loop through them?
Thanks,
--
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected]<jquery-ui%[email protected]>
.
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=.
--
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=.