我需要在拖动它的副本后更改原始元素的字体颜色。我该怎么做?
jQuery("#tools-container .fieldset-item").draggable({
revert: "invalid",
helper: "clone",
cursor: "move",
connectToSortable: ".fieldset-content .sortable",
stop: function(event,ui) {
// change helper css
}
} );
答案 0 :(得分:2)