I need to change the directory in the URL each time I'm loading a new page with AJAX. Right now it's working in Chrome & FF but not in IE.
$('a[data-link="inner"]').live('click', function (e) {
pageToLoad = $(this).attr('href');
loadContent(pageToLoad);
window.history.pushState("","" , pageToLoad);
e.preventDefault();
}
var loadContent = function (url) {
$('.content').load(url + '.html');
};
Does anyone know how to get this working in IE 9,8,7 ?