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.

Answers

  • kthorngrenkthorngren Posts: 21,173Questions: 26Answers: 4,923

    Use the search event and in the event use the search() 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

This discussion has been closed.