I asked a similar question over a year ago. But I can't figure this out.
This works:
$('#PlayArea').droppable({
drop: function( myEvent, myUI ) {
debugger;
}
});
But this doesn't:
function myDroppable() {
this.drop = function( myEvent, myUI ) {
debugger;
}
};
$('#PlayArea').droppable(myDroppable);