This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Adding a draggable to a sortable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Adding a draggable to a sortable" Watch "Adding a draggable to a sortable" New topic

Adding a draggable to a sortable

chris kumar

Joined: Jun 04, 2009
Posts: 17
Hi All,

How to add a draggable to sortable programatically ?

In the above code i have a list of sortables, i want to add the draggable($obj) to a sortable, even though i add to the sortable in the add method, that gets added but does not play as a draggable,
Do i need to call any method of sortable after adding the draggable ?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60764

Please be sure to take the time to compose descriptive subjects for your posts. You will attract people who will can give you better and faster answers when your posts have good, descriptive subjects. For more information, please click this link ⇒ UseAMeaningfulSubjectLine.

Using a title of "javascript" in a forum completely dedicated to questions on JavaScript isn't going to attract the attention of those who can best help you. You can change your subject line by clicking the button on your post.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Adding a draggable to a sortable
Similar Threads
jQuery -- add remove list item
Jquery and Autocomplete
List item disappears in Firefox
set values in a table from other
jQuery Selector issue