13 Replies Latest reply on Sep 19, 2014 10:31 AM by resdesign

    simple sortable jquery list

    Aubrey Scarza Level 2

      I have a symbol called list_1, inside the symbol are three groups, each group contains a rectangle and a text box labelling them item 1, item 2, item 3. I want these rectangles to be sortable like the default function on the jquery page Sortable | jQuery UI using the code below I am able to drag them but not sort them. Any help or if anyone has made a simple example already I would very much appreciate it.

       

      yepnope(
           {
             nope:['js/jquery-ui.min.js'],
             complete: init
           }
      );

       

      function init() {
           sym.$('list_1').sortable();
      }