$("div#foobar").live('click', function() { }); $(window).hashchange(function() { });
How to stop the hashchange event when the click event fires.
Note In the click event, I fire ajax and change the hash ... And on hashchange, I do something. Since the Click event also changes the hash, it means hashevent fire. So, I want that whenever the event is clicked, the hashchange fire should not be fire.
source share