Tab Click using Tab Unique ID
- This topic has 1 reply, 2 voices, and was last updated 4 years ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › Classic DFFS › Tab Click using Tab Unique ID
Is there a way to determine a tab has been clicked using the tab Unique ID?
This works for me:
jQuery(“#dffs_tab_2”).on(“click”,function() {
// do something…
});
But I’d like to be able to do this:
jQuery(“dffs_tab_Tab-Unique-ID”)
Hi,
The tab has the uniqueId as a css class som you can to it like this if your tab unique id is “Tab1”:
jQuery(".tabUniqueID_Tab1").on("click", function(){
// Do something
});
Alexander