How to identify Tab Clicked

NickOg 05 Jun, 2015
Hi
Is there any built in way to detect which tab in a tab area has been clicked after the code has dropped out of that tab area? I want to set some form variables based on which tab is currently selected.

🤨 :ugeek:

Nick
GreyHead 06 Jun, 2015
Hi Nick,

What do you mean by 'after the code has dropped out of that tab area' . . . ?

You can use JavaScript to identify the current tab using the class setting class="tab-pane active"

Bob
This topic is locked and no more replies can be posted.