How to display search results on another page
How to display search results on another page
I would like to have just a search box with button on one page and have the results be displayed on a search_results.html page. I have the table working fine but this would add another level of functionality. Thanks for any suggestions of for pointing me to a working example. Great use of jQuery to simplify things by the way.
This discussion has been closed.
Replies
I am also want to add like this.
Interesting - I haven't thought of using DataTables in this manner before. What I would suggest doing is having an input box that when submitted appends the input to the target URL - perhaps as a GET parameter, or as a location hash, and then have the Javascript on the target page recognise that and apply a filter using the DataTables API (
search()
).Allan