I have the following code, but not work in chrome
var win = $(window);
($(document).height() - win.height() == win.scrollTop())
I searched the Internet and found with the 'body' now works however are run at the top of the page, how do I run to get to the bottom of the page?
($(document).height() - $('body').height() == $('body').scrollTop())