Posted 8 March 2019, 3:01 pm EST
I want to execute some code when the user clicks the tabPanel and changes the selected tab. I have added the following eventlistener
document.getElementById(‘theTabPanel’).addEventListener(‘selectedIndexChanged’, function(e) {
alert(‘Hi’);
});
When I select a different tab the selectedIndexChanged doesn’t fire. If I change the event to ‘click’, my alert executes.
Thanks, Ed
