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")});
}

No comments:

Post a Comment