jQuery:向另一个div添加和删除内容

Is there any jQuery & PHP tutorial available which is having functionalities like:

  1. Add or remove contents from one tab to another.
  2. Save those in sessions.

Please have a look at this website.

Looking for the same functionalities.

session plugin using that plugin you can save your value in to session

// To Store
$(function() {
    $.session.set("myVar", "value");
});


// To Read
$(function() {
    alert($.session.get("myVar"));
});

and using normal jQuery you can add and remove will be done like

For add

$("#orherdiv").html($('#someotherdiv).html());

and for Reomve

 $("#orherdiv").html('');