views:

37

answers:

0

Hello! I am creating my navigation in site using Ajax and urls like example.com/#doStusff,1,2,3

Together with changing page location, I am also changing title of page. It works for FF, Safari but IE after operation add slashes to url's part after the hash and changes title to default one.

Can this behavior be prevented or can you provide other solution enabling change of page's title?

Thanks!

EDIT:

Example code:

window.location = 'http://example.com/someAction/#someAjaxAction';
document.title = "Some ajax Action";

I put alert() in the end, so I see title is changed in IE, but after the second url changes to : http://example.com/someAction/#/someAjaxAction/ and title gets back to old one.