I am using ajax to update the location of a page in a frame. But when setting the location of the hash (on Chrome and some versions of IE (5.5) specifically, but occasionally on
You could also use HTML5 history.pushState() to change hash without reloading page in Chrome. Something like this:
// frameset hash change function
function changeHash(win, hash) {
if(history.pushState) {
win.history.replaceState(null, win.document.title, '#'+hash);
} else {
win.location.hash = hash;
}
}
In the first argument you need to pass frameset top window.