Return to Snippet

Revision: 65025
at October 16, 2013 23:47 by MrLesion


Initial Code
if (localStorage["myKey"] != null) {
      var storagename = JSON.parse(localStorage["myKey"]);    
      $(".content").html(storagename);
     }

Initial URL

                                

Initial Description
Simple way to load saved content from localStorage

Initial Title
Load content from localStorage

Initial Tags

                                

Initial Language
jQuery