RailsCasts Pro episodes are now free!

Learn more or hide this

Rodrigo Sanguanini's Profile

GitHub User: rodrigokiller

Site: http://www.killerskull.com

Comments by Rodrigo Sanguanini


Wow. There is a lot of JS code in there.
Easily you can use just it:

$(document).ready(function() {

Where #example is the ID of the table.
Remember to use dataTable as a class, and to read the documentantion: