Page 1 of 1

Capture Tab click events

Posted: 18 Dec 2018
by bnunweiler
Hello, How do I capture tab click events. I'm looking to disable / enable "stuff" based on which tab is selected.

Thanks!

Re: Capture Tab click events

Posted: 20 Dec 2018
by AlexZver
Hi!

Please consider this code:

Code: Select all

$("#fd_tabcontrol-0 ul li").on('click', function() {alert("click")})
Note that if you have more than one tab control: #fd_tabcontrol-1, #fd_tabcontrol-2 etc.