You can detect if the browser supports the event by:
if ("onhashchange" in window) {
//...
}
See also:
More Related Contents:
- jQuery document.getElementById() issue
- How can I get jQuery to perform a synchronous, rather than asynchronous, Ajax request?
- jQuery Validate Plugin – How to create a simple custom rule?
- Asynchronously load images with jQuery
- How can I create an Asynchronous function in Javascript?
- how to parse a “dd/mm/yyyy” or “dd-mm-yyyy” or “dd-mmm-yyyy” formatted date string using JavaScript or jQuery [duplicate]
- How to replace remapColums with remapColumnsByName in free jqgrid
- HTML5 Canvas toDataURL returns blank
- How to detect chrome and safari browser (webkit)
- jQuery jqGrid Show message when an edit row is complete
- Open a new javascript window(.open) along with its CSS styling
- How to Disable Copy Paste (Browser)
- How to ajax-submit a form textarea input from CKEditor?
- Resize on div element
- window.print() is not printing the whole page
- How to improve rendering performance when using $.html()
- jQuery Youtube URL Validation with regex
- How do I get first element rather than using [0] in jQuery?
- Converting an image to base64 in angular 2
- Implementing jquery UI autocomplete to show suggestions when you type “@”
- Remove ‘All Files’ option from HTML file input
- Use PHP code in external Javascript file
- Converting string array to Name/Value object in javascript
- jQuery asynchronous function call, no AJAX request
- Set default time in bootstrap-datetimepicker
- Jquery/Javascript Opacity animation with scroll
- Javascript Highlight Selected Range Button
- Find object having maximum value for the `id` property in an array of objects
- Truncate paragraph first 100 character and hide rest content of paragraph to show/hide rest contenct with more/less link
- Does jQuery strip some html elements from a string when using .html()?