Custom JS: what tab is currently active?
- This topic has 1 reply, 2 voices, and was last updated 4 years, 4 months ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › Classic DFFS › Custom JS: what tab is currently active?
Hi,
Is there an spjs.dffs function or otherwise that I can leverage that identifies what tab is currently active?
Looking for something I can leverage at a global level. EG: for any function calls I make in my custom JS, I want to “know” what tab we are currently in so that I can target rules for that tab or not.
Hi,
You can use this variable:
spjs.dffs.data.selectedTab
Alexander