Save content to localStorage


/ Published in: jQuery
Save to your folder(s)

Simple way to save dynamic added markup


Copy this code and paste it in your HTML
  1. localStorage["myKey"] = JSON.stringify($(".content").html());

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.