Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 110690

Re: execute js function on clicking tab?

$
0
0

Thanks again AnotherPGriff, you pointed me in the right direction. My working code is:

 

ColdFusion.Layout.onTabActivate = function(tab){

  myTabs = ColdFusion.Layout.getTabLayout("myLayout");

  actTab = myTabs.getActiveTab();

  if(actTab.id === "myRedirect") {

  ColdFusion.navigate("redirectFile.cfm");

  }

}

 

where actTab.id is actually the name attribute of my cflayoutarea

 

Regards


Viewing all articles
Browse latest Browse all 110690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>