The following script can read an arbitrary HTML page, and create a key/value map where keys are constructed like so:
.. and values are either 'value' attributes of the html tags or their 'text' equivalents in case when 'value' attribute is absent.
The script then stores the key/value pairs on the local computer. The script also allows to load the stored data file back into the HTML page. The storing/loading portion of the script is IE specific.
Storing/Loading form data for IE
I found this page to be useful, here is the script, try it out.