changing html component visible / not visible (hide / unhide)

This forum contains topics that were moved from Get Satisfaction
Fernando
Posts: 0
Joined: Sat Mar 14, 2015 10:59 am

changing html component visible / not visible (hide / unhide)

Post by Fernando »

Hello,

I have a multilingual app and i want to show the html component corresponding to the selected language and mantain hidden the others. It was working fine with older libraries versions but now i can't show the html component. I unhide it from load page event and it was working fine in this two ways:

var language = localStorage.getItem('_language');
alert("Selected language = " + language);
switch(language) {
case 'en-GB':
$("[name='html_en_GB']").show();
break;
case 'es-ES':
Appery("html_es_ES").show();
...

Thank you in advance.