title: click event for list group not triggering when clicked
body: <p>I'm new to JQuery so maybe my syntax isn't correct but I can't trigger any click event for a bootstrap list group, when I select something from the list. I don't know if it makes a difference but the list group is inside a bootstrap popover.</p>
  
  <p>I have tried both methods here.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$('#eventList').on('click', '.list-group-item', function(e) {
    e.preventDefault();
    //code here
  });
  
  $(".list-group-item").click(function() {
    // code here
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="events-popover-head" class="hide"&gt;Events&lt;/div&gt;
  &lt;div id="events-popover-content" class="hide"&gt;
    &lt;ul id="eventList" class="list-group"&gt;
      &lt;li class="list-group-item"&gt;First item&lt;/li&gt;
      &lt;li class="list-group-item"&gt;Second item&lt;/li&gt;
      &lt;li class="list-group-item"&gt;Third item&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>