How to get value entered in search box In Datatables. Is there a way to get value entered in search box in Data Tables?
Yes, there is. You call the search method without an argument to get the search term
var query = dataTable.search()
https://datatables.net/reference/api/search()
Get the currently applied global search. If there is more than one table in the API's context, the search term of the first table will be returned. Use table() if you require the search term of a different table in the API's context.