title: JQuery, Draggable And Droppable - Find a Droppable, I got the ID
body: <p>I need to find a droppable control when the Draggable stop event is running, and I got an ID. Is this possible? So basically my idea is this: When the "out" function's running, I store the dropId. Then if an item is being reverted, I need to set that old Droppable to accept only the reverted Draggable.</p>
  
  <p>this is part of my code:</p>
  
  <pre><code>        var dropId;
          $('.droppable').droppable
          ({
              hoverClass: "ui-state-active",
              drop: itemDrop,
              out: function (event, ui) {
                  $(this).droppable('option', 'accept', '.draggable');
                  ui.draggable.zIndex = 6000
                  dropId = $(this).attr("id");
              },
  
          $('.draggable').draggable
          ({
              revert: 'invalid',
              cursor: 'move',
              zIndex: 5000,
              stop: function (event, ui) {
                  var draggableId = $(this).attr("id");
                  if (event.reverted) { 
                     // dropID.droppable('option', 'accept', draggableId), something lite this
                  }
              }
  
          });
  </code></pre>
  
  <p>My itemDrop function basically updates the database, and set this:
  $(this).droppable('option', 'accept', ui.draggable);</p>
  
  <p>Which is somewhat what I am after for when an item is being reverted.</p>
  
  <p>Hope I am somewhat clear! If not, let me know.</p>
  
  <p>Thanks!</p>