My Tasks
http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js

My Tasks

Enter items for your list. The browser will store it for you, so that when you reopen your browser, it will still be here.

  • Some task
  • Another task

$(document).ready(function(){
$(“#myTasks”).blur(function() {
localStorage.setItem(‘myTasksData’, this.innerHTML);
});
if ( localStorage.getItem(‘myTasksData’) ) {
$(“#myTasks”).html(localStorage.getItem(‘myTasksData’));
}
});

Advertisements
%d bloggers like this: