Andre Hoefs
Posts: 0
Joined: Fri Jul 25, 2014 8:14 pm

setting label visible = False with javascript

Hi,

a label is filled as a result from my rest-service

i'd like to set the visible-property of a label to false if the label text is"undefinded".
I tried the following:

if ($('#zitat').text=="undefined") {$('#zitat').attr('visible',false);}

But it doesn't work....

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

setting label visible = False with javascript

Hello Andre,

Could you please clarify, for what event of what component do you add your js code? Maybe this link could be useful for you http://devcenter.appery.io/documentat...

Andre Hoefs
Posts: 0
Joined: Fri Jul 25, 2014 8:14 pm

setting label visible = False with javascript

Hello Evgene,

thank you!
The link was very helpful! :-)

Return to “Issues”