I\'ve created a simple form and I\'m using the Datatables jQuery plugin to display some data in it. Data are being populated by a php script (process.php) which returns the prop
You could alternatively just destroy the table and recreate it too.
var oTable = null;
function reloadTable() {
if (oTable) {
oTable.fnDestroy();
}
oTable = $('#example').dataTable( {
"sPaginationType": "full_numbers",
"iDisplayLength": 10,
//"bServerSide": true,
"sAjaxSource": "process.php"
} );
}
reloadTable();