Click here to Skip to main content
15,880,405 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
  $( ".selector" ).droppable({
   drop: function(event, ui) { ...saving here }
});





i am trapping the drop event and in the function i am saving the drop panel state, problem is when this event is fired there is still an injected placeholder element that wont be there after the drop is completed...

I cant find an event that fires on drop completed! have i missed something? anyone have an idea?

thanks for your time
Posted
Updated 15-Mar-12 14:03pm
v2
Comments
Sergey Alexandrovich Kryukov 15-Mar-12 19:34pm    
No, until you create a clear short but complete code sample, add to your question (use "Improve question" above) and clearly explain how to reproduce the problem and what is the problem.
--SA
ZurdoDev 16-Mar-12 10:24am    
I have used that function but never noticed any extra element. Why is it causing a problem? What are you trying to do?
killabyte 16-Mar-12 15:57pm    
in the drop function i am saving state with a $( ".selector" ).each(...) and have noticed a phantom element, it could be because i am using it in conjuction with $( ".selector" ).sortabble() but i dont think so

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900