Capture Tab click events

Discussions about Cross-site Lookup
Post Reply
bnunweiler
Posts: 11
Joined: Tue Jun 10, 2014

18 Dec 2018

Hello, How do I capture tab click events. I'm looking to disable / enable "stuff" based on which tab is selected.

Thanks!

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

20 Dec 2018

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.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest