drop styling

drop styling

The droppable box in the code below accepts two different draggables. As you can see when one of them is dropped only the #draggable changes colour. What could i do so that when one draggable is dropped it changes colour and not the other one. 

Something like $(this) would work but that would change the drop styling not the drags. Im guessing an if statement would work but I'm not sure how to set it up.

Thanks

Craig

  1.   $( "#droppable" ).droppable({
  2. accept: '#draggable, #draggable3',
  3. drop: function( event, ui ) {
  4.            $("#draggable").css("color","#95CB6C");
  5. ui.draggable.destroy();
  6.       }
  7. });