I have this page (A) that has an input field and once you submit it, it makes an AJAX call and displays the results. Now, I need a search field on another page (B) that once you submit it, it redirects you to the former page (A) with the results displayed as if you did it on the first page (A).
What would be the best way to handle this?
I am unsure as to why you need to have two separate pages with this search. The easiest thing to do would just be to redirect the user from page B to page A with the search already filled in. In other words, page B really does nothing: