title: jquery-mobile: get value of ui-li-count
body: <p>I have a dozen collapsible list (like the following) and each gets a bunch of dynamically created 'li's:</p>
  
  <pre><code>  &lt;div data-role="collapsible" data-collapsed="true" data-theme="b" data-content-theme="b"&gt;
      &lt;h3&gt;Community Alerts
      &lt;span id="comm_count" class="ui-li-count" style="float:right;"&gt;0&lt;/span&gt;&lt;/h3&gt;
      &lt;ul id="communityAlertList" data-role="listview"&gt;&lt;/ul&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>When a user does a taphold on one of the 'li's I want to delete it the 'li' (that parts working) and then I need to update/reduce the ui-li-count.  To find the span and get its content I'm using the following:</p>
  
  <pre><code>    var ui_li_count = $(this).closest('span')
      var count = $(ui_li_count).textContent;    // also tried innerHTML
      alert("Count = " +count);
      count--;
      $(ui_li_count).html(count);
  </code></pre>
  
  <p>The alert shows "Count = undefined".</p>
  
  <p>How do I find and retrieve the textContent?</p>