in my new project, site loads pages using ajax by reading hash tags,
to do this using that small javascript code;
$(window).bind("hashchange",function(){
var hash= window.location.hash;
var target = hash.substring(2);
$("#ajaxArea").empty().load(target);
});
but in ie7 it doesn’t work..
is there any other way to handle this problem in ie7?.
thanks..
Just get a plugin that adds hashchange event support to IE7, eg. http://benalman.com/projects/jquery-hashchange-plugin/