Events on dynamic created elements
<p>Please anyone who knows about the ThreeDubMedia jquery.event.drop. I am using code from the selection demo. Here's the link <a href="http://threedubmedia.com/code/event/drop#demos" rel="nofollow">ThreeDubMedia</a></p>

<p>I need the same drag-to-select functionality on dynamic elements.
For click events I just use jquery .on(). But I have no idea how to get the same effect with this code.</p>

<pre><code>$('.layout-grid [class*=span]')
  .drop("start",function(){
     $( this ).addClass("click");
  })
  .drop("end",function(){
     $( this ).removeClass("click");     
  });
</code></pre>

<p>how can I trigger these functions on dynamic elements that match the selector?</p>
