Posted By

MrLesion on 10/16/13


Tagged

localstorage


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

MrLesion


Save content to localStorage


 / Published in: jQuery
 

Simple way to save dynamic added markup

  1. localStorage["myKey"] = JSON.stringify($(".content").html());

Report this snippet  

You need to login to post a comment.