Accept only the latest dropped draggable in a droppable interaction using jQuery UI

zOld - Raymund Macaalay's Dev Blog


You might be looking for a solution something like a radio button but don’t want to use the old school HTML input types, you want something interactive like dragging and dropping objects in a certain location.  Since it should work like a radio button you want that certain location to hold one object and only the latest object chosen, well you’re in luck as I have to create something similar and here is how I executed it.

View original post 524 more words