I am trying to use ajax.url('myurl').load() with post params.Since 'myurl' is a string I works well for get request.How can I apply the same to post?
Here is my datatable:
$('#example').dataTable( {
"ajax": { "url": "url", "type": "POST", "data":data } } ); } );
Everytime I reload the table ,i need to pass new data to the backend.
How can I achieve it by using ajax.url('myurl').load()?
Could anyone please point me with example.