Page 1 of 1

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

Posted: Sat Jan 13, 2018 4:45 am
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.