title: Ext JS on click event
body: <p>I have the following event:</p>
  
  <pre><code>Ext.onReady(function() {
  
      Ext.select('.gallery-item img').on('click', function(e) {
          Ext.select('.gallery-item').removeClass('gallery-item-selected');
          Ext.get(e.target).parent().addClass('gallery-item-selected');
      });
  
  });
  </code></pre>
  
  <p>Which works fine when the page loads.</p>
  
  <p>However I dynamically create additional divs of the class gallery-item with a image inside them. The click event stops working once I create a new item.</p>
  
  <p>How may I <code>update</code> this binding?</p>
  
  <p>Thanks.</p>