RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: jquery xAjax x
Turbolinks
Episode #390 – Nov 05, 2012 – 114 comments

Turbolinks

Turbolinks can make your Rails app feel faster by using JavaScript to replace the page content when clicking a link. It will be default in new Rails 4.0 applications, but here I show how to use it in Rails 3 and mention some of the gotchas. (7 minutes)
Offline Apps Part 2
Episode #248 – Jan 10, 2011 – 37 comments

Offline Apps Part 2

Learn how to make a site usable offline with HTML 5 localStorage. This last part of the series covers jquery-tmpl and jquery-offline. (14 minutes)
Polling for Changes
Episode #229 – Aug 30, 2010 – 61 comments

Polling for Changes

If you have frequently changing data on the server side, it's helpful to automatically display this to the user as well. Here I show how to accomplish this with polling in jQuery. (16 minutes)
Endless Page (revised)
Episode #114 – Dec 16, 2011 – 101 comments

Endless Page (revised)

Transform traditional pagination into infinite scrolling which will automatically fetch more records when the user scrolls down to the bottom of the page. (7 minutes)
Dynamic Page Caching (revised)
Episode #169 – Feb 11, 2012 – 63 comments

Dynamic Page Caching (revised)

Page caching is great for speeding up the performance of a page, but what if it contains user-specific content? Learn how to load content in dynamically through JavaScript in this episode. (7 minutes)
In-Place Editing
Episode #302 – Nov 28, 2011 – 97 comments

In-Place Editing

Edit an attribute in-place without leaving a page using the Best In Place gem. Learn how to add validations and support for various field types. (8 minutes)
Playing with PJAX
Episode #294 – Oct 31, 2011 – 82 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)
Pagination with AJAX
Episode #174 – Aug 10, 2009 – 91 comments

Pagination with AJAX

Learn an easy, unobtrusive way to add AJAX functionality to an existing set of pagination links using jQuery. (13 minutes)
Search, Sort, Paginate with AJAX
Episode #240 – Nov 15, 2010 – 124 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)
AJAX History and Bookmarks
Episode #175 – Aug 17, 2009 – 76 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)