Passing form parameters to the server. Help!
Passing form parameters to the server. Help!
Is there someone out there that can PLEASE help me on this. I can't figure out how to get the "data" to pass over to the server.
Trying to do something similar to this https://datatables.net/examples/api/form.html
var table = $('#example').DataTable();
$('button').click( function() {
var data = table.$('input, select').serialize();
alert(
"The following data would have been submitted to the server: \n\n"+
data.substr( 0, 120 )+'...'
);
return false;
} );
COMBINED with this https://datatables.net/examples/data_sources/server_side.html
$(document).ready(function() {
$('#example').DataTable( {
"processing": true,
"serverSide": true,
"ajax": "../server_side/scripts/server_processing.php"
} );
} );