W3C home > Mailing lists > Public > public-webapi@w3.org > November 2005

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

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 22 Nov 2005 17:22:01 +0100
To: "Karl Pongratz" <karlhp@karlhp.com>
Cc: public-webapi@w3.org
Message-ID: <op.s0ng2zdb64w2qv@id-c0020.q42.local>

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>


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Tuesday, 22 November 2005 16:22:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:52 GMT