Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

Event listener property used to trigger a function on click of classic dialog tab

Avatar

Level 2

Hi All,

On Click of a tab in a classic UI dialog, I want a function to be triggered (ex: display a message inside the dialog on click on the tab2). Which event listener property can I use for this?

Similar to render, afterrender, beforerender events etc, for above situation, what can be the solution? 

Thanks in advance

@Deleted Account 

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Community Advisor

@Helen_DD 

Use activate event. The event will be called with panel as parameter.

Screenshot 2021-03-03 at 11.53.04 PM.png

Lösung in ursprünglichem Beitrag anzeigen

4 Antworten

Avatar

Community Advisor

$("a[aria-controls='<YOUR TAB ID >']").click(function() {

//logic here

}

Avatar

Administrator
@SureshDhulipudi, you are such a phenomenal help to the AEM Community.


Kautuk Sahni

Avatar

Korrekte Antwort von
Community Advisor

@Helen_DD 

Use activate event. The event will be called with panel as parameter.

Screenshot 2021-03-03 at 11.53.04 PM.png

Avatar

Level 2
This worked. Thanks a lot.