Monday, March 18, 2013

How to detect if datatables is loaded


if($.fn.dataTableExt){
console.log('datatables ok');
}else{
console.log('datatables ko');
//head.ready(function() {head.js("js/libs/jquery.dataTables.min.1.9.4.js")});
}
Post a Comment

bootstrap_fonts_woff: inputs: - '%kernel.root_dir%/../vendor/twitter/bootstrap/fonts/glyphicons-halflings-regular.woff' output...