Greetings.
Let's say I have an application that consists of several pages, which are switched by anchor tags (<a href="page.html">).
Which would be the best way to pass data back and forth between the pages? For example, a button should open a list of things to choose from and that list should return back the index of the chosen item.
I've tried using GET-parameters, and they sort of work, you can parse them manually from 'location.search' global variable, but it seems messy, especially when returning values back.
Could there be a better solution to this?
Thanks in advance.