It will store all the items if you use a different key. If you use the same key it will be overwritten each time.
http://tiggzi.com/view/7bbf33e1-3238-...
Click on the first item.
This is my code:
code
alert ('About to save key1/value1 into Local Storage');
localStorage.setItem('key1', 'value1');
/code