Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery ui 带有jqueryui的可排序按钮_Jquery Ui_Jquery Ui Sortable - Fatal编程技术网

Jquery ui 带有jqueryui的可排序按钮

Jquery ui 带有jqueryui的可排序按钮,jquery-ui,jquery-ui-sortable,Jquery Ui,Jquery Ui Sortable,我尝试使用jQueryUISortable对一些按钮进行排序。见: 测试1 测试1 测试1 $(“#排序”).sortable(); 但它不起作用。 这个怎么了 如何才能使其工作?使用选项取消 $("#sort").sortable({cancel: ''}); 由于该选项设置为input,textarea,button,select,option,因此该按钮将不会处理可排序表 工作演示: $("#sort").sortable({cancel: ''});

我尝试使用jQueryUISortable对一些按钮进行排序。见:


测试1
测试1
测试1
$(“#排序”).sortable();
但它不起作用。 这个怎么了


如何才能使其工作?

使用选项
取消

$("#sort").sortable({cancel: ''});
由于该选项设置为
input,textarea,button,select,option
,因此该按钮将不会处理可排序表

工作演示:

$("#sort").sortable({cancel: ''});