jQuery UI Sortable doesn't work -


i have rows of div want sort want, tried doesn't move !

$("#sortable").sortable({      cancel: ".fixed"  });  $("#sortable").disableselection();
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>  <div id="sortable" class="row">      <div id="sortable" style="margin-bottom:20px; cursor: move;">1</div>      <div id="sortable" style="margin-bottom:20px; cursor: move;">2</div>      <div id="sortable" style="margin-bottom:20px; cursor: move;">3</div>      <div id="sortable" style="margin-bottom:20px; cursor: move;">4</div>      <div id="sortable" style="margin-bottom:20px; cursor: move;">5</div>  </div>

here's fiddle.

it's time upgrade plugins or use relevant jquery version 1.7.2:

http://jsfiddle.net/kt4pv/2/

you should interested in using jquery migrate: http://blog.jquery.com/2013/05/08/jquery-migrate-1-2-1-released/


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -