Save searching words in a table database
Save searching words in a table database

Hi there, is that possible to save the search field in a table database the see the words that the users are searching on the page? Im using the datatables editor as a buying products digitation, so the user can type the quantity they are buyning. Id like to see what the users are searching on the page.
This discussion has been closed.
Answers
Use the
search
event and in the event use thesearch()
API to get the search term. The docs show an example of this. You can use a jQuery ajax() request to send to your server.Kevin