Try This
$(window).on('hashchange', function(e){
// Your Code goes here
});
Its working for me
More Related Contents:
- Get current URL with jQuery?
- Trying to Validate URL Using JavaScript
- JavaScript – Get Portion of URL Path
- How do I get the fragment identifier (value after hash #) from a URL?
- How to get the anchor from the URL using jQuery?
- Parsing URL hash/fragment identifier with JavaScript
- How to check if the URL contains a given string?
- Get query string parameters url values with jQuery / Javascript (querystring)
- Change URL and redirect using jQuery
- How to escape a JSON string to have it in a URL?
- How to replace url parameter with javascript/jquery?
- Javascript: extract URLs from string (inc. querystring) and return array
- jQuery Youtube URL Validation with regex
- How to test if a URL string is absolute or relative?
- jQuery add class based on page URL
- Checking a Url in Jquery/Javascript
- PLEASE assist me.. RE: *FORM FIELDS* I want to Hide() my "type=text box" until the Other option is chosen in the dropdown option
- jQuery get specific option tag text
- How to remove “disabled” attribute using jQuery?
- Semicolon before self-invoking function? [duplicate]
- JavaScript equivalent of jQuery’s extend method
- How to get a count of all checked checkboxes on a page
- Load Image from javascript
- jquery select iframe children
- How to get border width in jQuery/javascript
- Calculate Position of selected text javascript/JQuery?
- Adding onClick event dynamically using jQuery
- Function not calling within an onclick event
- focus on next tabindex of HTML element onEnter keypress by JQuery
- How to return an array from an AJAX call?