Home › Forums › JavaScript › AJAX initial page not loading in IE7 › Re: AJAX initial page not loading in IE7
January 16, 2013 at 5:46 pm
#121202
karlpcrowley
Participant
Just a slight change, both will work fine
$(document).on(‘hashchange’,function(){
if(window.location.hash == “”) {
window.location.hash = “home/”;
}
}).trigger(‘hashchange’);