# Ajax Pagination

**URL:** <https://www.ruby-forum.com/t/ajax-pagination/178041>\
**Category:** Rails\
**Created:** [October 28, 2009, 1:47pm UTC](https://www.ruby-forum.com/t/ajax-pagination/178041 "2009-10-28T13:47:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rails\_ROR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9f8e36/32.png) [@Rails\_ROR](https://www.ruby-forum.com/u/Rails_ROR)\
**Post date:** [October 28, 2009, 1:47pm UTC](https://www.ruby-forum.com/t/ajax-pagination/178041/1 "2009-10-28T13:47:05Z")

</div>

Hi Everybody,

I want to implement pagination with ajax.

I followed this url:  
[http://wiki.github.com/mislav/will\_paginate/ajax-pagination](http://wiki.github.com/mislav/will_paginate/ajax-pagination)

I am getting the page results.

But when i click on the next or 2,3… i am just getting the spinner  
but  
not the record.

Please give me a good example for pagination using ajax.

Please…

Thanks in advance.

Developer.

---

<div class="post-metadata">

**Author:** ![Rails\_ROR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9f8e36/32.png) [@Rails\_ROR](https://www.ruby-forum.com/u/Rails_ROR)\
**Post date:** [November 2, 2009, 11:48am UTC](https://www.ruby-forum.com/t/ajax-pagination/178041/2 "2009-11-02T11:48:59Z")

</div>

> **[will\_paginate remotely](http://squaremasher.blogspot.com/2008/02/willpaginate-remotely.html)**
>
> I've patched the awesome will\_paginate plugin from Mislav Marohnic to support rails' link\_to\_remote helper. Now you can easily tell will...

## Sandip

> **[Fun On Rails](http://funonrails.com/)**
>
> Journal of a Web Developer #ruby #rails #JS

---

<div class="post-metadata">

**Author:** ![Rails\_ROR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9f8e36/32.png) [@Rails\_ROR](https://www.ruby-forum.com/u/Rails_ROR)\
**Post date:** [November 2, 2009, 12:08pm UTC](https://www.ruby-forum.com/t/ajax-pagination/178041/3 "2009-11-02T12:08:54Z")

</div>

On Wed, Oct 28, 2009 at 4:45 AM, Rails ROR [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> not the record.
> 
> Please give me a good example for pagination using ajax.
> 
> Please…
> 
> Thanks in advance.
> 
> Developer.

You can take a look at the following:

> **[\#174 Pagination with AJAX - RailsCasts](http://railscasts.com/episodes/174-pagination-with-ajax)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

Good luck,

-Conrad
