RailsCasts Pro episodes are now free!

Learn more or hide this

Shanbo Li's Profile

GitHub User: shanboli

Site: http://www.borntojava.com/

Comments by Shanbo Li


Hi there,

I am playing with data table following this guide.
But I feel the code in CoffeeScript was loaded before the html/haml code. So the jQuery select didn't find the .

Nothing happened after I load the page.
But when I type $('#provider-data-table').dataTable() on console, I can see the table. It is the same code in the CoffeeScript.

Could you please help me?