Jquery 将分页+;无限滚动插件-不';“t显示”;“装载”;消息
我将Jquery 将分页+;无限滚动插件-不';“t显示”;“装载”;消息,jquery,ruby-on-rails-3,loader,will-paginate,infinite-scroll,Jquery,Ruby On Rails 3,Loader,Will Paginate,Infinite Scroll,我将will\u paginategem与结合使用,该机制运行良好。 唯一的例外是在加载新内容或已加载所有数据时显示信息消息-不显示此消息 这是我的分页结构,由will\u paginategem生成: <div class="pagination"> <span class="previous_page disabled">← Previous</span> <em class=&q
will\u paginate
gem与结合使用,该机制运行良好。
唯一的例外是在加载新内容或已加载所有数据时显示信息消息-不显示此消息
这是我的分页结构,由will\u paginate
gem生成:
<div class="pagination">
<span class="previous_page disabled">← Previous</span>
<em class="current">1</em>
<a rel="next" href="/articles?page=2">2</a>
<a href="/articles?page=3">3</a>
<a href="/articles?page=4">4</a>
<a class="next_page" rel="next" href="/articles?page=2">Next →</a>
</div>
一切都应该由手册页面设置,但我不知道为什么,信息消息和加载程序没有加载
感谢您的帮助 而不是
nextSelector : '.pagination a', // selector for the NEXT link (to page 2)
使用
这可能会帮助您而不是
nextSelector : '.pagination a', // selector for the NEXT link (to page 2)
使用
这可能对您有所帮助您有解决方案吗?我也有同样的问题你有解决办法吗?我也有同样的问题
nextSelector : '.pagination a[rel="next"]', // selector for the NEXT link (to page 2)