Ajax Help

Hi,

I am loading a webpage in to a div using the .load() method in jQuery. Now, I used a click event so that, when a button on the newly loaded page is clicked, the div will load another webpage. Used the live() event to do this.

The question is, if i make a selection in the first loaded webpage, how do i store that selection and carry it forward to the next page?

Lets say, i clicked a link which opened an image and i want the same image to be displayed when i go to the next webpage.

All the above will be happening inside the div.

Thanks.

Store the information in a cookie.