Ujjwal Singh Ujjwal Singh - 2 months ago 5
Ajax Question

history.pushstate not updating title

I am using AJAX to load main content of the page. Using

history.pushstate(Object:State, String:Title, String:URL)
- I am able to update the URL in the address bar and navigate back in the history.

However the
parameter appears to have no effect. Neither does the window title change nor the title of the entries in the 'history list' (perhaps both of them are same anyway).

What am I doing wrong?

param is simply ignored in chrome. http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-June/026827.html


The title parameter is not the window title.
It may be used as a title of the state but some browsers like Chrome simply ignore it.