Passing searchTerm in dotnet core application.

Passing searchTerm in dotnet core application.

isodougnelsonisodougnelson Posts: 2Questions: 1Answers: 0

I have a basic installation of DataTables on my application. This the the jquery,

var table = $('#PartAvilability').DataTable({
"search": { "search": "@searchTerm" },
"responsive": true,
"ordering": false,
"autoFill": true
});

This is working fine, and the search function is working as it should.

My question is, how can I grab the info in the "search" box when a button is pressed and set that value as a predefined filter on the new page?

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.