Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
首先,这是我的代码:http: //jsfiddle.net/wLsCD/2/
我想要实现的是删除将两个项目放在一个单元格中的能力。
提前致谢
receive: function(event,ui){ if( $(this).find('.item').size() == 2 ){ $(ui.sender).sortable('cancel'); } }
希望这可以帮助