# Best way to use ajax when paginating multiple tables

**URL:** <https://www.ruby-forum.com/t/best-way-to-use-ajax-when-paginating-multiple-tables/190514>\
**Category:** Rails\
**Created:** [June 21, 2010, 11:47pm UTC](https://www.ruby-forum.com/t/best-way-to-use-ajax-when-paginating-multiple-tables/190514 "2010-06-21T23:47:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![skirkpatrick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/73ab20/32.png) [@skirkpatrick](https://www.ruby-forum.com/u/skirkpatrick)\
**Post date:** [June 21, 2010, 11:47pm UTC](https://www.ruby-forum.com/t/best-way-to-use-ajax-when-paginating-multiple-tables/190514/1 "2010-06-21T23:47:52Z")

</div>

for example, i’m trying to paginate results on this home page

> **[An Interactive Database for Wonderland Online - Wonderland Online Database](http://wlodb.com)**
>
> An Interactive Database for Wonderland Online - Wonderland Online Database

(forum posts, items, compounds, etc…)

I have followed this railscast  
[#174 Pagination with AJAX - RailsCasts](http://railscasts.com/episodes/174-pagination-with-ajax) to get ajax and  
will\_paginate working on the pages with only one table…but i’m not  
sure about the best way with multiple tables on the same page.

anyone have any example links they could point me to or give me some  
ideas?

thanks.
