jQuery(function ($) { $("#table_material").html("
\n Records: 41-40 of 22 \n\n\n <\/p>\n\n
Result for:\n Author:<\/b> Abella, Gonzalo\n <\/p>\n <\/div>\n<\/div>\n\n\n <\/div>\n « Previous<\/a> 1<\/a> 2<\/a> 3<\/a> Next »<\/span><\/div>\n <\/div>\n\n\n"); $(document).ready(function() { $('.pagination a').attr('data-remote', 'true'); }); });