私はJqueryを初めて使用し、この記事Jqueryの例に従ってこれを設定しようとしていますが、アイテムをドラッグできません。何が間違っているのかわかりません。私のコードは以下の通りです。ありがとう、
<script src="http://code.jquery.com/jquery-1.8.2.js"></script>
<script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script>
$(function () {
$("#<%=dlProcessList.ClientID %> tbody").sortable({
handle: ".handle",
placeholder: 'ui-state-highlight',
cursor: 'move',
start: function (event, ui) {
ui.placeholder.height(ui.helper.height());
}
}).disableSelection();
});
<asp:DataList ID="dlList" runat="server" >
<HeaderTemplate>
<tbody>
</HeaderTemplate>
<ItemTemplate>
// My Data to display
</ItemTemplate>
<FooterTemplate>
</tbody>
</FooterTemplate>
</asp:DataList>