fredwu / jquery-endless-scroll

Endless/infinite scrolling/pagination.
http://fredwu.github.com/jquery-endless-scroll/
838 stars 176 forks source link

Can't get it to work with jQuery >= 1.5x when ussed on a different from $(document) element #2

Closed dpetrov closed 13 years ago

dpetrov commented 13 years ago

I am not quite sure if it's just me, but the Plugin seems not to work with jQuery version which is higher than 1.5x. Can anyone confirm?

fredwu commented 13 years ago

I just tested the demo with 1.6.1 and it works fine. Could you please provide more information? Any errors in the console?

dpetrov commented 13 years ago

Thanks a lot for the imediate response. I was reading the changelog and since v1.4 [2010-06-18] it seems to work on any element right? So if I used it on $(document) it seems to work without anyproblem. However if I try to use some element, like: $('#list').endlessScroll the endless scroll is not triggered. Or may be i've just misinterpreted how should I use it?

fredwu commented 13 years ago

Updated with a DOM-based demo. Please check the demo files to see how to use the script. :)

Please feel free to re-open this issue if there's still problems. Thanks!

dpetrov commented 13 years ago

Thanks a lot