I am studing Google Ajax Crawlable
I use $(window) bind hashchange
to control ajax page loading.
my url like: domain.com/#!/keywords&num=1
there has two kind of change
domain.com/#!/apple&num=1
=>domain.com/#!/apple&num=2
domain.com/#!/apple&num=1
=>domain.com/#!/banana&num=1
so how to check if $(window) bind hashchange
changed hash part from apple
=> banana
? Thanks.
$(window).bind('hashchange', function() {
// make a judge like if(){}else{}
});