title: How can I change the newly dropped item in a JQuery UI sortable or how can I know when the dropped item is new?
body: <p>I'm creating a simple assembly language editor in javascript using JQuery UI. I want to be able to drag instructions from an instruction set and drop them into a program which is sortable.</p>
  
  <p>However I need to show the instruction set as just a list of words (opcodes) and then have them change when dropped in order to have editable parameters (operands).</p>
  
  <p>I tried using a custom helper in the draggable instruction set, but although the instruction changes as soon as it is dragged, it will revert to its old form after it is dropped. Now I'm trying to use drop events in the sortable such as "update" in order to update the DOM of the dropped instruction but I can't find a way to only do this when the instruction is new and not just being reordered.</p>
  
  <p>In short, I need know how I can change the DOM of newly dropped items in a sortable.</p>