Droppable: using an "Async" accept callback
Hi,
I need to use an async function as the "accept" option when setting up a droppable().
Business-wise, I have no idea if the drop is acceptable until I check some stuff back in the server.
So, quick question: Has anyone hacked this? How, where?
Codewise, I would need to do something like this:
$("#myContainer")droppable( { accept:function( callback ){
// some calls to the server that will eventually call the following
callback( true )
} } )
Thanks!
A