Hello there, I have a main page which has a search panel, where a user can type in a name of a city, and the search results will be displayed. After user selects the result I need to open second html page, which will display the basic information about the city.
I am not entirely sure how to implement it, since when user click on a search result, as far as I am concerned, JS engine re-runs the script and I don’t have access to variables which were created before. Any ideas on how can I overcome this issue? Thanks in advance.