RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: ajax xFree Episodes xAjax x
AJAX History State
Episode #246Dec 27, 201051 comments

AJAX History State

The new pushState function in JavaScript allows us to change the full URL with AJAX. This means the back button, reloading, and bookmark support can be easily added. (10 minutes)
Search, Sort, Paginate with AJAX
Episode #240Nov 15, 2010124 comments

Search, Sort, Paginate with AJAX

Many administration pages have search, sorting, and pagination on the index page. See how to add all of this including AJAX. (13 minutes)
Pagination with AJAX
Episode #174Aug 10, 200991 comments

Pagination with AJAX

Learn an easy, unobtrusive way to add AJAX functionality to an existing set of pagination links using jQuery. (13 minutes)
AJAX History and Bookmarks
Episode #175Aug 17, 200976 comments

AJAX History and Bookmarks

Browser page history and bookmarks do not usually work with AJAX requests, but in this episode I show you how to remedy this problem using a simple jQuery plugin. (11 minutes)
DataTables
Episode #340Apr 11, 2012173 comments

DataTables

DataTables makes it easy to convert a plain HTML table into one with pagination, sorting, and searching - all done with JavaScript and jQuery. Here I show how to set this up and use a Rails application as the data source. (9 minutes)
Playing with PJAX
Episode #294Oct 31, 201182 comments

Playing with PJAX

PJAX allows you to quickly update a section of a page using AJAX with automatic pushState support. Here I show how to use both pjax_rails and rack-pjax gems. (8 minutes)
AJAX with RJS
Episode #43Jun 11, 200799 comments

AJAX with RJS

This episode will walk you through adding AJAX functionality to a form using RJS. See how to easily update multiple elements on a page. (11 minutes)
jQuery
Episode #136Nov 17, 2008114 comments

jQuery

How do you use jQuery with Rails? In this episode I redo episode #43 using jQuery instead of Prototype/RJS. (9 minutes)
Debugging RJS
Episode #44Jun 13, 200735 comments

Debugging RJS

RJS and AJAX can be difficult to debug. Many times you don't get any error message in the browser. Learn different techniques for solving these tricky problems in this episode. (7 minutes)