Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Re: how to color the tabs of ? Because i am getting an error in java script "Uncaught TypeErro

$
0
0

thanks for reply akbar...

 

See my basic problem is i am getting an error of undefined method getTab();in javascript

in following code:

 

var colorTab = function(tab, tabName, color)

{

          // get the underlying EXT object for the tab layout

          var tabs = ColdFusion.Layout.getTabLayout(tab);

          // get the tab you want to color

          var tab = tabs.getTab(tabName);

          // set the color of this tab via the DOM

          tab.el.dom.firstChild.firstChild.firstChild.style.color = color;

}

 

there is no method getTab() in coldfusion9.

so please tell me alternative method to getTab() method.

please help me out.


Viewing all articles
Browse latest Browse all 21760

Trending Articles



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