title: jsPlumb: How to get an element after "mouseup" event is done
body: <pre><code>$(document).on('mouseup', '.agent-wrapper', function(info){
    console.log(info);    // It works fine
    console.log(this);    // It works fine too
  });
  </code></pre>
  
  <p><code>.agent-wrapper</code> is an element-wrapper for all jsPlumb objects.</p>
  
  <pre><code>$(document).on('mouseup', 'div.node', function(info){
    console.log(info);    // It doesn't work
    console.log(this);    // It doesn't work too
  });
  </code></pre>
  
  <p>How can I receive the element-node inside the jsPlumb-wrapper for "mouseup" event.</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;div id="flume-AGENT-1" class="agent-wrapper" index="0"&gt;
    &lt;div data-nodetype="source" class="w node jsplumb-draggable jsplumb-droppable"&gt;
      Element 1
      &lt;div class="ep"&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;div data-nodetype="source" class="w node jsplumb-draggable jsplumb-droppable"&gt;
      Element 2
      &lt;div class="ep"&gt;&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>When i "mousedown" a cursor on 1-st element and "mouseup" it on second element - i cant get an element target in JavaScript. ... How to get event.target.</p>
  
  <p>Seems like jsPlumb unbind all events related to elements that are located inside its wrapper ... but i need to receive this element. How?</p>