jquery - Dropping 'draggable' elements into a 'sortable' list causes problems -
I am trying to move the elements from one list to another by drag-n-drop. The source list is 'dragable', the target list is 'sorted' within each draggable element for each & lt; Input & gt; A jquery error occurs in the console
TypeError: $ (...), since a 'spinner' happens to move an element from one list to another. Data (...) is undefined
As you can see in jsFiddle, after moving the element to another list, the spinner is not working.
Javascript code:
$ ('spinner') Spinner (); $ ('# TaskFound & gt; Li') Dragable ({connectToSortable: '#UserTasksOfDay'}); . $ ('# UserTasksOfDay') sortable (); P>
Comments
Post a Comment