Previous view/undo in javascript
<p>Is there a way to go back to the previous view (not url), or so to speak undo a click in javascript or jquery?</p>

<p>history.go(-1) wouldn't work because the previous view is not literally a url on the address bar. I am using a jquery plugin that create a object (album viewer), and you can navigate between different photos there, the url on the address bar would not change. I set it so that on click of the photo, the page would change to another page.
I want to bring back the user to the previous view, which is the specific photo on the plugin created object.</p>
