How can I remove the search bar and footer added by the jQuery DataTables plugin?

For DataTables >=1.10, use: $(‘table’).dataTable({searching: false, paging: false, info: false}); If you still want to be able the .search() function of this plugin, you will need to “hide” the search bar html with the dom setting: $(‘table’).dataTable({dom: ‘lrt’}); The defaults are lfrtip or <“H”lfr>t<“F”ip> (when jQueryUI is true), f char represents the filter (search) html … Read more

Datatables: Cannot read property ‘mData’ of undefined

FYI dataTables requires a well formed table. It must contain <thead> and <tbody> tags, otherwise it throws this error. Also check to make sure all your rows including header row have the same number of columns. The following will throw error (no <thead> and <tbody> tags) <table id=”sample-table”> <tr> <th>title-1</th> <th>title-2</th> </tr> <tr> <td>data-1</td> <td>data-2</td> … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)