Prevent page from refreshing
On the home page of my app. I allow users to search for items, which results in a list of items that meet the search criteria. Just like a google search. This works well.
Next, I want the user to be able to click on the item, which takes them to a new page and displays the item details. This also works well.
From the details page, I want the user to be able to hit the back button and return to the home page with the list of items that had originally met the search criteria. In other words, I don't want to loose the contents of the original search result.
How can I do this? Is there an easy way to do this ? What may I being wrong?