jQuery [ refresh page ]

Hey, fellows.

My question is , if there’s a possibility to keep data obtained by .append function after refreshing page.
Normally all data appended is going to disappear after refresh.

Example:

$(function() {
   $("#example1").click(function() {
      $("<div id='in2'>Hello fellows :-)</div>")
      .hide()
      .insertAfter("#example1")
      .fadeIn(1000);
   });

});

Only by storing it on the local computer in some manner. That can be achieved in a number of ways, from querystrings, to cookies, to local storage.

As you’re using jQuery, a plugin such as this local storage one might be the way to go.