On my webpage, there is a search bar that displays search results in a resultdiv when I type something. However, if I navigate to another page and return by clicking the back button, the resultdiv no longer shows my previous search results. I would like the resultdiv to retain the search results even after navigating to other pages. Currently, I am using the keyup event on my search bar.