Submit button for search with "return" option true
Submit button for search with "return" option true

To avoid having an http request sent each time the user presses a key, I am using the "return" option to have the results refreshed only after the user presses "enter"
jQuery('.myselectore').dataTable({
search: {
return: true
},
serverSide: true,
...
});
How do I externally trigger submitting the search or add a submit button.
This discussion has been closed.
Answers
Use the
search()
API to programmatically execute searching.Kevini