function view(){
var dataTable = $('#example').DataTable(
{
processing: true,
serverSide: true,
"deferRender": true,
"orderable": true,
"searchable": true,
"ajax":
{
"url": "index.htm",
"type": 'POST',
"data": function ( d )
{
var JSONData = JSON.parse(d);
console.log(JSONData);
// fnCallback(d);
}
},
"columns": [
{"data": "Name"},
{"data": "Email"},
{"data": "Contact"}
]
});
}