Click here to Skip to main content
15,924,935 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had done the how to get the previous tab in jquery that is

var s = $('.nav-tabs > .active').prev('li').find('a').trigger('click');">


I need the last active tab that means which tab you are used for saving the data i need that please help me.

thank you.

What I have tried:

I need the last active tab that means which tab you are used for saving the data i need that please help me.
Posted
Comments
Richard Deeming 11-Feb-20 8:27am    
Do you mean the tab that's currently active? Or are you trying to get the tab that was active before you activated the current tab?

There's nothing built-in to track the sequence in which tabs are activated. If that's what you're looking for, you'll have to write your own code to track them.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900