title: jQuery .click method not firing for list items
body: <p>I'm trying to use <code>jQuery</code> to add a <code>click</code> function to a list item. I had this method working using JS and <code>onClick()</code>, however I am trying to bring the code up to date with using <code>jQuery</code>. So my list has the following structure:</p>
  
  <pre><code>&lt;ul id="paginationList" class="pagination"&gt;
     &lt;li id="1" class="page-item disabled"&gt;
        &lt;a class="page-link" href="#"&gt;Previous&lt;/a&gt;
     &lt;/li&gt;
     &lt;li class="page-item"&gt;
         &lt;a class="page-link" href="#"&gt;1&lt;/a&gt;
     &lt;/li&gt;
     &lt;li id="2" class="page-item"&gt;
         &lt;a class="page-link" href="#"&gt;Next&lt;/a&gt;
      &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>The <code>jQuery</code> function is on the document.read function:</p>
  
  <pre><code>$(function () {
      $('ul.pagination li.page-item').click(function () {
          var $li = $(this);
          $.ajax({
              type: 'GET',
              url: '/Projects/ProjectTable/CountProjects',
              data: { searchString: $('#searchBox').val() },
              success: function(result) {
                  $('#table-container').load('/Projects/ProjectTable/TestPartialView',
                      {
                          searchString: $('#searchBox').val(),
                          currentPage: page,
                          projectCount: result
                      }, function() {
                          $li.addClass('active');
                      }); 
              }
          });
      });
  
      getTable();
  });
  </code></pre>
  
  <p><code>getTable()</code> is being executed, however when I click on any <code>&lt;li&gt;</code> the method is not called. I have tried removing <code>ul.pagination</code> from the <code>.click</code> call but again that has had no impact.</p>
  
  <p>What do I need to change so that the <code>&lt;li&gt;</code> have a <code>.click</code> method on each of them?</p>
  
  <p>I have checked the console and there are no errors being reported at all.</p>