Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 List.js 创建分页。刷新后如何保存状态分页数。如果在第 3 页,则刷新,页码仍然在第 3 页。 http://listjs.com
在 listPagination.js 你有
e.bind(a,"click",function(){ }
在开始的这个函数里面你必须写
e.bind(a,"click",function(){ $(this).find('a').html() }
有了这个,你就可以激活页面,在你把它保存到你想要的地方之后,并在这个页面中应用活动的类!
希望这可以帮到你 :)