title: Load Data From Server While Scrolling a Div to Bottom
body: <p>I need to load data inside a div only when I reached near the bottom of the div through scroll.</p>
  
  <p>The problem am facing is the $('div').scrollHeight() and the $('div').scrollTop() values are not same when it reaches the bottom, so I can't identify that the scroll reached the bottom or not.</p>
  
  <p>How can I identify the div scroll have reached near the bottom(or may be bottom minus some length)?</p>
  
  <p>Please advice...</p>
  
  <p>Note: Basically am trying to do the same like in Facebook ticker.</p>
  
  <p>Regards,
  Navin</p>