$("#Second-div-id").html($("#First-div-id").html());
Quote: .load( url [, data ] [, complete ] ) Description: Load data from the server and place the returned HTML into the matched element.
.load( url [, data ] [, complete ] )
//try something like this $("#DivIDonDemo1").load( "/demo.htm #DivIDfromDemo "); //Ensure the relevant htm page exists and the page has element with the specified id
var divData=$("#divId").html();
localStorage.setItem("divdata",divData);
var divDataBack= localStorage.getItem("divData");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)