Skip to content

Instantly share code, notes, and snippets.

@d3nj3ll
d3nj3ll / autosave.js
Created January 19, 2012 13:50
Client-side Autosave Using localStorage with jQuery in textarea
$(document).ready(function() {
///////////////////////
//
// Recovery Below
//
///////////////////////
// Retrieve the object from storage onReady
var autosave = localStorage.getItem('file');