You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 6, 2019. It is now read-only.
$('#rootwizard').bootstrapWizard({onTabShow: function(tab,navigation,index){varcurrTabURL=tab.context.toString(),getFullUrl=window.location;// current tab with urlconsole.log('current tab url= '+currTabURL);// current full urlconsole.log('complete url= '+getFullUrl);// just the current tabvarcurrTab=currTabURL.replace(getFullUrl,"");console.log('just the tab= '+currTab);// Then you can do something like:if(currTab=='#your-tab-name'){//do something}else(//do something}}});
The text was updated successfully, but these errors were encountered:
samjco
changed the title
Useful Snippet: How to detect which tab you are on.
Useful Snippet: How to detect which tab (by name) you are on.
Nov 21, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: