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

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -