Of course. var divContent;
function saveDivContent() { divContent = $("#test").html(); } function doSomethingWithTheSavedContent() { alert(divContent); } But, be careful if the div content contains a form with dynamically created elements. I've had trouble with saving those in the past. On Oct 26, 10:50 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I have a need to save content of a <div id="test"></div> to some > global variables and re-load it sometime later, possible with jQuery? > thanks. > > A.C.