保持原始并在成功拖动后克隆 [英] Keep original and clone on successful drags
本文介绍了保持原始并在成功拖动后克隆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使原件和克隆件成功拖动?
How can I keep the original and the clone on a successful drag?
$('.definition').draggable({'revert':'invalid', 'helper':'clone'});
推荐答案
$(this).append($(ui.draggable).clone());
$(this).append($(ui.draggable).clone());
这篇关于保持原始并在成功拖动后克隆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文