How to detect URL changes with jQuery

Try This

$(window).on('hashchange', function(e){
 // Your Code goes here
});

Its working for me

Leave a Comment