Re: Ajax Back/Forward History problem – saving document state by document.save()

Hmm, Jim Ley says something similar what the documentation does:
"and it requires scripting to sync the local state with what they want 
it to be, and local storage to persist the information,"

Though you say it saves the DOM. Why would I need scripting and probably 
rebuild the DOM if the DOM state is saved?

Do I misunderstand something?

Thanks.

Anne van Kesteren wrote:

> On Tue, 22 Nov 2005 17:17:24 +0100, Karl Pongratz <karlhp@karlhp.com>  
> wrote:
>
>> How do I return to a document in the web browser history which has 
>> been  added via pushState()?
>
>
> Probably by pressing the back button.
>
>
>> It means what does pushState() save, does it save the entire DOM of 
>> a  document or does it just save some sort of event handler which is 
>> fired  when going Back/Forward.
>
>
> It saves the DOM.
>
> You can all read this in the draft:
>  <http://whatwg.org/specs/web-apps/current-work/#pushstate>
>
>

Received on Tuesday, 22 November 2005 19:46:44 UTC