In your event handler function ui.tab
is an anchor element. You can retrieve its hash value like this:
$("#tabs > ul").tabs();
$("#tabs > ul").bind("tabsshow", function(event, ui) {
window.location.hash = ui.tab.hash;
})
Does this work for you?
More Related Contents:
- Selecting a jQuery Tab using a parameter in the URL
- jQuery Event : Detect changes to the html/text of a div
- jQuery UI Autocomplete use startsWith
- How can I keep selected Bootstrap tab on page refresh?
- jQuery UI Tabs – How to Get Currently Selected Tab Index
- Jquery Datepicker Chrome
- jQuery UI Dialog window loaded within AJAX style jQuery UI Tabs
- Disable specific days of the week on jQuery UI datepicker [duplicate]
- jQuery UI Datepicker – Disable specific days
- Opening tab with anchor link
- jQuery scrollTop not working in Chrome but working in Firefox
- jquery ui dialog box need to return value, when user presses button, but not working
- jquery UI dialog: how to initialize without a title bar?
- What does autocomplete request/server response look like?
- jQuery ui datepicker conflict with bootstrap datepicker
- Changing minDate and maxDate on the fly using jQuery DatePicker
- Getting value from JQUERY datepicker
- jquery ui tabs no longer supporting cookie? now what?
- Get mouse position on scroll
- How do you animate the value for a jQuery UI progressbar?
- How to use Plugins for PopUp [closed]
- How can I disable a button in a jQuery dialog from a function?
- jQuery UI Slider (setting programmatically)
- Problems with jQuery autocomplete + AngularJS
- Jquery UI Autocomplete: search from multiple attributes of one array
- jQuery autohide element after 5 seconds
- How can I extend jQueryUI datepicker to accept an additional argument?
- jQuery: keyup for TAB-key?
- jQuery UI dialog box not positioned center screen
- How to handle jQuery UI Selectmenu change event