2014-03-12 100 views
-1

我有格的這行,因爲我想,我想那種,我嘗試過,但它不動!jQuery UI的可排序不起作用

$("#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>

這裏有一個fiddle

+0

值得一提的是,控制檯顯示:「遺漏的類型錯誤:無法讀取未定義的屬性'msie' –

回答