jquery.sortable driving me nuts
i'm trying to make a set of elements sortable. Each element is created after an ajax request, so basically not开发者_StackOverflow中文版hing in the DOM is available to bind sortable() on DOM ready. I managed to set a callback occuring after my json manipulations have ended and the dom is updated.
Here's a preview of what i'm doing now.
http://jsfiddle.net/zrFsT/
Am I missing something ? What could it be ? Thanks for the help.
You were missing jquery-ui from the jsfiddle.
I've added it here: http://jsfiddle.net/zrFsT/
And updated your question.
Is this all that was wrong or are you trying to accomplish more?
Update: http://jsfiddle.net/zrFsT/1/
Removed multiple "lines" and the connect with feature usage.
精彩评论