1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Which event is triggered when tab is clicked?

Discussion in 'Free Divi Community Forum' started by Ralf Tenbrink, Apr 29, 2021.

  1. Ralf Tenbrink

    Ralf Tenbrink New Member

    I have a DIVI tab module on a page and it works well.
    But I need to change other elements on the page when a tab is clicked.
    I have added a jquery click event but how do I know which of the tabs was clicked? The et_pb_tab_active class is added after the click event so I cannot use that.
    Code:
    Log In or Sign Up to view this code.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade dynamic background hover design for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try the below code in Divi > Theme Options > Integration > Body Code:
    Code:
    Log In or Sign Up to view this code.
     
    Ralf Tenbrink likes this.
  3. Ralf Tenbrink

    Ralf Tenbrink New Member

    Perfect, thanks very much
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade gallery carousel design for your Divi site without using any plugins:View Demo