Ok,
I have an ajax call which takes care of some server side settings (I'm using this for log in, language switches...), if, and only if, server side settings are actually changed as a result of this call, I want to refresh the current page. ( without reposting POST form data, should we be on a page right after a POST). A simple JS in the callback of the ajax takes care of this:
window.location.replace( window.location.toString() );
This works just fine, right until I started working with anchors. Let's say my URL is something like http://www.mysite.com/index/list#someplace and I do the aforementioned ajax call ending with the window.location.replace, then nothing happens..., the page does not get reloaded. So far tested on FF3.6 and IE7.