Abdullah Alahdal

now browsing by tag

 
 

Using the Binding option to change the Text Color property will change the transparency to maximum which makes the…

Using the Binding option to change the Text Color property will change the transparency to maximum which makes the text invisible.

Am I doing something wrong? 

]]>

I’m very new to Javascript.

I’m very new to Javascript.

Can anyone help and let me know where is exactly my mistake in below code.

I have a panel with 5 text items and trying to update the value via JS.

var c = LL.getEvent().getContainer();

var pnl = c.getItemByName(‘pnlPrayer’).getContainer();

var prayernames = [“lblFajrTime”, “lblZuhrTime”, “lblAsrTime”, “lblMagribTime”, “lblIshaTime”];

var prayertimes = “05:40,12:20,03:40,06:50,08:20”;

prayertimes.split(“,”);

for (i = 0; i = 5; i++) {

var lbl = pnl.getItemByName(prayernames[i]);

lbl.setLabel(prayertimes[i]);

}

]]>