Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(window).scroll(function() {
- if(($(window).scrollTop() + $(window).height() >= $(document).height()) ){
- //*Load More data function
- }
- }
- $(function () {
- $("#iframeid").load(function () {
- var iframe = document.getElementById("iframeid").contentWindow;
- $(iframe).scroll(function () {
- if ( $(iframe).scrollTop()==$(iframe).height()-$("#iframeid").height()) {
- alert("Reached bottom!");
- }
- });
- });
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement