我有一个jQuery可排序列表。当我开始拖动一个项目时,我想删除一些文本,因为它只是在拖动时显示第一行。例如,我有一个ol:
<ol>
<li>Here is some text. <span>Here is a bunch of other text</span>
<li>Here is some text also. <span>Here is a bunch of other text as well</span>
</ol>
当我开始拖动第一个li时,我希望它只在拖动时显示“Here is some text”。这可能吗?