I have a page (created not by me) with two divs. This divs contains some span elements, they can be drag&dropped between this divs. This functionality implemented using jQuery draggable and droppable function. But user is able to drop span element not only at div, but at any place of page. Question is: how can I prevent this? I need to disable dropping span at any place except this divs. Dragged span should return to place where it was taken.
Can I make it with JQuery?