I have code that displays the contents of the link when I click on the button. But how to display the contents of the link when scrolling the page?
$(function() { $('#button').click(function() { $.ajax({ type: "POST", url: 'https://docs.google.com/forms/d/e/1FAIpQLScBdfQmMdOt1cwpuqwg7uPYQS295zY0vnCRo', success: function(data) { $('#result').html(data); } }); }); });