title: On windows Scroll count item of class and the execute function on particular item scroll in Jquery?
body: <pre><code>$(window).scroll(function () {
  if ($(window).scrollTop() &gt;= ($(document).height() - $(window).height())*0.5){  
  newAjaxCallfunction();
     }});
  </code></pre>
  
  <p><strong>I have this code working but my issue is different</strong>
  When page load i have 10 item by default to show , i want when i scroll to 9 item then reset item to come which means trigger newAjaxCallfunction(), items are coming from newAjaxCallfunction(). 
  I have same class for all item first 10 also called rowHeight class and it is in loop so first ten class are by default and reset item which will come also have same class name . </p>