Thanks guys! Special thanks Karl, it works pefectly!
On Jul 10, 7:36 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > I don't think that is going to work as is, since scrollTop and > scrollHeight are DOM properties. > > You could try it this way instead: > > $('element').scroll(function() { > if (this.scrollTop + $(this).height() == this.scrollHeight) { > // console.log('finished'); > } > > }); > > --Karl > ____________ > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Jul 10, 2008, at 10:43 AM, Ryura wrote: > > > > > $("element").scroll(function() { > > if($("element").scrollTop == $("element").scrollHeight;) { > > //do something > > } > > }); > > > Untested, but should work. > > On Jul 10, 9:18 am, fambi <[EMAIL PROTECTED]> wrote: > >> Thanking you guys in advance for any help/advice... > > >> How can I know that I've reached the bottom of a scrollable area in a > >> div with an overflow? > > >> Thanks