I am loading content to div and need keep it loaded after page refresh. After some search i would like to use with help of cookie. I used what i found store cookie then load cookie but it's wrong still.

**jquery**

```
$('.linklo').click(function(e){    
    $.cookie('the_cookie', $(this).attr('href')); //save  href to cookie
    if( !empty($.cookie('the_cookie'))){ //if cookie not empty use it          
        $("#LoadMe").load($.cookie('the_cookie')); 
        e.preventDefault();
    } else { // otherwise use href if defined    
        $("#LoadMe").load($(this).attr('href'));
        e.preventDefault();
    }
});

```

**html**

```
<div id="LoadMe"></div>

```

Thanks