How to display search results on another page

How to display search results on another page

cmorrisoncmorrison Posts: 1Questions: 0Answers: 0
edited April 2014 in General
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.

Replies

  • yash3131yash3131 Posts: 2Questions: 0Answers: 0

    I am also want to add like this.

  • allanallan Posts: 63,687Questions: 1Answers: 10,500 Site admin

    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

This discussion has been closed.