How can I use localstorage to remember a selection list choice?
<p>I have a selection list that I would like to remember what was chosen when a visitor returns to the page. The selection list is used to set a value used in another function. I understand there is something call DOM storage that can use localstorage to save a value like a cookie but, I don't know how.  :(</p>

<p>Can someone tell me how to do it with the below selection list?</p>

<pre><code>&lt;SELECT class="FJselect" name="numberconsumables" style="width: 54px" id="FJsconsumables" onchange="ConsumableNUM=this.options[selectedIndex].value;&gt;
&lt;OPTION class="FJoptionBG1" value="1"&gt;1&lt;/OPTION&gt;
&lt;OPTION class="FJoptionBG2" value="2"&gt;2&lt;/OPTION&gt;
&lt;OPTION class="FJoptionBG1" value="3"&gt;3&lt;/OPTION&gt;
&lt;OPTION class="FJoptionBG2" value="4"&gt;4&lt;/OPTION&gt;
&lt;OPTION class="FJoptionBG1" value="5"&gt;5&lt;/OPTION&gt;
&lt;/SELECT&gt;
</code></pre>
