RailsCasts Pro episodes are now free!

Learn more or hide this

pascalr's Profile

GitHub User: pascalr

Comments by

Avatar

Instead of
$(".pagination").html("Page is loading...");
use
$(this).parent().html("Page is loading...");

so it works when doing more than one pagination per page.