[whatwg] Updating Location Bar for RPC Type Apps
Olav Junker Kjær
olav at olav.dk
Fri Apr 22 11:12:25 PDT 2005
Brad Neuberg wrote:
>
> Whenever I implement a DHTML (Ajax?) type app that needs to talk to the
> server without refreshing the client, such as through a hidden iframe or
> an XmlHttpRequest object, I always wish that I could update the window
> location bar to show a bookmarkable and copyable URL, but update it in
> such a way that it _doesn't_ refresh the browser or change it's location
> (window.location.href changes the location).
You can do this by changing the fragment, e.g. set window.location to:
http://www.rojo.com/manage-subscriptions#sortby=TAG"
This is useful for changing to a new bookmarkable state on the client
side without reloading the page.
regards
Olav Junker Kjær
More information about the whatwg
mailing list