Input textbox from outside to process data
Input textbox from outside to process data
Hi,
I created some input fields:
[code]
Name:
Lastname:
[/code]
And I want to display data associated with them after clicking submit button. I created special function to filter by the inputs in the server_processing file and they work good if I initialize datatable like this(so I don't upload filtering code):
[code]
$('#BOOKS').dataTable(
<?php include 'server_processing.php';?>
);
);
[/code]
However in this way I cannot add anything else to this function(or I don't know how to do it) and I want to add details row functionality for example.
I tried to intialize datatable in this way:
[code]
$('#BOOKS').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": 'server_processing.php'
});
[/code]
And the data is displayed correctly but filtering doesn't work. Could you give me any clues?
I think it can be caused by parameters processing but I don't knot how it is done in these two ways...
I would be very grateful for any clues.
I created some input fields:
[code]
Name:
Lastname:
[/code]
And I want to display data associated with them after clicking submit button. I created special function to filter by the inputs in the server_processing file and they work good if I initialize datatable like this(so I don't upload filtering code):
[code]
$('#BOOKS').dataTable(
<?php include 'server_processing.php';?>
);
);
[/code]
However in this way I cannot add anything else to this function(or I don't know how to do it) and I want to add details row functionality for example.
I tried to intialize datatable in this way:
[code]
$('#BOOKS').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": 'server_processing.php'
});
[/code]
And the data is displayed correctly but filtering doesn't work. Could you give me any clues?
I think it can be caused by parameters processing but I don't knot how it is done in these two ways...
I would be very grateful for any clues.
This discussion has been closed.
Replies