Mav*_*ick 4 jquery user-interface jquery-ui jquery-ui-sortable
当我使用jqueryui sortable时,我收到一个奇怪的错误.它说,
$(this).sortable(); is not a function.
Run Code Online (Sandbox Code Playgroud)
怎么解决这个?
编辑 heres我的标题代码:
<script src="jquery.min.js"></script>
<script src="jquery.ui.core.js"></script>
<script src="jquery.ui.widget.js"></script>
<script src="jquery.ui.mouse.js"></script>
<script src="jquery.ui.sortable.js"></script>
Run Code Online (Sandbox Code Playgroud)
并继承我用来刷新我的编辑我的xml文件的代码.
$("#sortable").sortable(
{
update : function(event, ui) {
//var change = $(this).sortable('toArray').toString();
// $('#show').html(change);
var order = $(this).sortable('toArray');
//var order = $(this).val;
$("#show").load("update_engine_xml.jsp?order="+ order);
//$("#showid").html(ui.item.context.id+" "+event.target.id);
}
});
Run Code Online (Sandbox Code Playgroud)
编辑:2任何建议为什么我收到此错误?!
| 归档时间: |
|
| 查看次数: |
10160 次 |
| 最近记录: |