HI, any idea how I would change the below code to target elements with individual classes within a symbol within a symbol?
var countries = $(".UK,.Ireland,.Hongkong,.Switzerland,.USA,.India,.Japan,.Netherlands,.Spain,.AUS");
//var countries = sym.getSymbol("Countries").$("UK");
var charts = sym.getSymbol("Piecharts").$(".UK_Chart,.Ireland_Chart,.Hongkong_Chart,.Switzerland_Chart ,.USA_Chart,.India_Chart,.Japan_Chart,.Netherlands_Chart,.Spain_Chart,.AUS_Chart");
var chartstext = sym.getSymbol("Piechart").getSymbol("PiechartText").$(".UK_pietext,.USA_pietext,.AUS_piet ext,Hongkong_pietext,.Swizterland_pietext,.Ireland_pietext,.India_pietext,.Japan_pietext,. Netherlands_pietext,.Spain_pietext");
var textwindows = sym.getSymbol("Textwindows").$(".UK_text,.Ireland_text,.Hongkong_text,.Switzerland_text,. USA_text,.India_text,.Japan_text,.Netherlands_text,.Spain_text,.AUS_text");
var stanbuttons = sym.getSymbol("Stanbuttons").$(".UK_Stan,.USA_Stan");
AdobeEdge.reset = function(){
countries.each(function(){
//$(this).fadeOut();
$(this).css({'display':'none'});
});
charts.each(function(){
$(this).fadeOut();
});
chartstext.each(function(){
$(this).fadeOut();
});
stanbuttons.each(function(){
$(this).fadeOut();
});
textwindows.each(function(){
$(this).fadeOut();
});
}
function isSame(myObject,str){
var obj = $(myObject)[0].classList
for (var i=0;i<obj.length;i++){
if(obj[i]==str){
return true;
}
}
return false;
}