Open freejacque opened 10 years ago
Formatting issue: The three backticks need to be on their own line and have three at the end as well.
Did you go through the droppable/draggable api documentation? http://api.jqueryui.com/droppable/#event-drop
What properties are on the event object? There should be something like event.target
I don't want to see what the droppable is, I need to see the draggable item. Where would the event.target be?
What is available in the drop
callback?
$("#thing").droppable(function(event){
// what's available to you in the event object?
console.log(event);
});
I need to get the charges from a card once it has been dropped on the target. I put in an event listener for drop but the draggable object data is not accessible.