title: Call function on scroll end
body: <p>I want to call a specific function when the Scroll reaches at the Bottom END of the page.</p>
  
  <p>Here is my Code m using but its not working for me. No console errors, but still not working.</p>
  
  <pre><code>$(function() {
  
      var scrollEnded = $.debounce(500, false, function() {
  
      console.log('scroll ended');
  
             alert("ok"); // I will call my function here. Just need an alert.
  
      });
  
  });
  </code></pre>