Saturday, 15 October 2011

HTML5 LocalStorage

It's very easy to store key value pairs in the local browser storage from JavaScript using the new HTML5 functionality:

This demo taken from the HTML5 website and also shows a javascript function firing on a timer using the setInterval() function which executes every 5 seconds.


You can run the demo live here:

You can run all the HTML5Rocks demos online here:

No comments:

Post a Comment