RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: pascalr
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.
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.