title: Add integer value to string using parseInt not working on dynamic added content
body: <p>My HTML looks like this</p>
  
  <pre><code>&lt;span class="responsesCount"&gt;&lt;b&gt;0&lt;b/&gt;&lt;/span&gt; 
  
  &lt;div class="addOne"&gt;submitResponse&lt;/div&gt;
  </code></pre>
  
  <p>I'm using Jquery to increment the class (responsesCount) by one every time a user post a response to a comment.</p>
  
  <pre><code>$(document).on("pagecreate",function(event) {
  
      $(document).on('click', '.addOne', function(e) {
          e.preventDefault();
  
          var commentCount = ".responsesCount";
  
          var num = $(commentCount).text();
          var newnum = parseInt(parseFloat(num), 10)+1;
          $(commentCount).text(newnum);       
      });    
  });
  </code></pre>
  
  <p>The code works as expected when page first loads incrementing by one.<br/></p>
  
  <p>The problem is when i load dynamic content into the page via ajax i get an unexpected result it seems to concatenate and not increment like expected</p>
  
  <pre><code>0
  1
  12
  13
  14
  15
  2
  </code></pre>
  
  <p>the actual output looks like this: <code>12 13 14 15 2</code></p>
  
  <pre><code> &lt;span class="responsesCount"&gt;&lt;b&gt;12131415&lt;b/&gt;&lt;/span&gt;
  </code></pre>
  
  <p>i've also have used the following snippets but none seem to work.</p>
  
  <pre><code>$(commentCount).text(parseInt(num) + 1);
  $(commentCount).text(parseInt(num, 10) + 1);
  $(commentCount).text(num + 1);
  $(commentCount).text(num++);
  $(commentCount).text(++num);
  $(commentCount).text(num * 2);
  
  var num = $(commentCount).text();
  $(commentCount).text(parseInt(num) +1); 
  </code></pre>
  
  <p>the code i use to load more content into the page.</p>
  
  <pre><code>$(document).on('click', '.moreResult', function(event) {
    event.preventDefault();    
    var res = $(".feed:last").attr("id");
  
  $.ajax({
    url: "process/loadmore.php?lastid=" + res,
    success: function(html) {     
        if(html) {
             $(".addResults").append(html).trigger('create');    
        } else { 
             $(".moreResult").html("End!");      
        }
      }
    });
   });     
  });  
  </code></pre>
  
  <p>I've been pulling my hair all night with this issue nothing seems to work! any help would be greatly appreciated. Thank you all for help in advance.</p>