title: jQuery drag and drop - checking for a drop outside a droppable
body: <p>My apologies if this was answered in another question, I could not find an answer specific to my problem!</p>
  
  <p>I'm trying to test whether a jQuery draggable is being dropped outside of a legal droppable. This would normally be solved 90% of the time by reverting the draggable, but I don't want to do that. Instead, I want to do one thing if the draggable is dropped onto a droppable (working great!), and something else if it is dropped outside of all possible droppables (currently getting the better of me!).</p>
  
  <p>In a nutshell:</p>
  
  <pre><code>jQuery('#droppable').droppable(
  {
      accept: '#draggable',
      drop: function(event, ui)
      {
          // awesome code that works and handles successful drops...
      }
  });
  
  jQuery('#draggable').draggable(
  {
      revert: false,
      stop: function()
      {
          // need some way to check to see if this draggable has been dropped
          // successfully or not on an appropriate droppable...
          // I wish I could comment out my headache here like this too...
      }
  });
  </code></pre>
  
  <p>I feel like I'm missing something really obvious...thanks in advance for any help!</p>