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


You need to login to view comments.