Change value of all ssearch in a request from Jquery DataTable

0

I'm using the methods

$(_table) .DataTable() .column(colIdx) .search(text) .draw();

to make filters in my Datatable. However, to reduce the number of requests, I perform this function only when I press the "ENTER" key in a text box, thus passing the value of the colIdx and the value of this text box to the DataTable. It turns out that by changing the value of a text box and sending a new request passing another input (giving ENTER in another input), the value of sSeach for the first modified value input remain the same. Is there any way to get the value of all inputs and change the value of all sSeach in a single request?

Here is an example of the sSearch parameters for requests:

- BY CHANGING THE INPUT VALUE AND TIGHTEN ENTER

sSearch_0:teste
sSearch_1:abcd

- BY CHANGING THE INPUT VALUE REGARDING sSEACH_0 and sSerach_1 AND ENTER ENTER INPUT REGARDING sSERACH_1

sSearch_0:teste
sSearch_1:wxyz

As the example shows, the value of sSeach_0 has not changed even though the value of the input has changed.

Would there be any way to get the value of all inputs and change the value of all sSeach in a single request?

    
asked by anonymous 23.02.2015 / 19:42

0 answers