Simple Example of HTML5 Local Storage

In this video, we’re going to show you how to create a working, though very basic, to-do list in just a few minutes. We can create advanced browsers “remember” what we type, even after it is closed or is refreshed using HTML5’s local storage.

While obviously not supported across all browsers, we can expect this method to work, most notably, in Internet Explorer 8, Safari 4, and Firefox 3.5. Note that, to compensate for older browsers that won’t recognize local storage, you should first test to determine whether window.localStorage exists.

HTML5 support

HTML5 support

Source Code: http://jsbin.com/iqura/4/

Incoming search terms:

  • html5 local storage example
  • localstorage example
  • html5 localstorage example
  • window localstorage example
  • local storage html5 example
  • local storage example
  • localstorage html5 example
  • html5 local storage examples
  • localstorage sample
Share
8 visitors online now
3 guests, 5 bots, 0 members
Max visitors today: 12 at 06:12 am UTC
This month: 81 at 09-10-2014 08:17 am UTC
This year: 81 at 09-10-2014 08:17 am UTC
All time: 163 at 05-18-2012 06:03 pm UTC
Get Adobe Flash player